The 10 Commandments are found in the Bible's Old Testament at Exodus, Chapter 20. They were given directly by God to the people of Israel at Mount Sinai after He had delivered them from slavery in Egypt:

And God spoke all these words, saying: “I am the LORD your God...

ONE: “You shall have no other gods before Me.”

TWO: “You shall not make for yourself a carved image - any likeness of anything that is in heaven above, or that is in the earth beneath, or that is in the water under the earth.”