The Ten Commandments appear twice in the Hebrew Bible, in the books of Exodus and Deuteronomy. Modern scholarship has found likely influences in Hittite and Mesopotamian laws and treaties, but is divided over exactly when the Ten Commandments were written and who wrote them.
what book in the bible are the 10 commandments
Exodus and Deuteronomy