Exodus 19-20 (ESV)
Israel at Mount Sinai
19:1 On the third new moon after the people of Israel had gone out of the land of Egypt, on that day they came into the wilderness of Sinai.2 They set out from Rephidim and came into the wilderness of Sinai, and they encamped in the wilderness. There Israel encamped before the mountain, 3 while Moses went up to God. The Lord called to him out of the mountain, saying, “Thus you shall say to the house of Jacob, and tell the people of Israel: 4 You yourselves have seen what I did to the Egyptians, and how I bore you on eagles’ wings and brought you to myself. 5 Now therefore, if you will indeed obey my voice and keep my covenant, you shall be my treasured possession among all peoples, for all the earth is mine;6 and you shall be to me a kingdom of priests and a holy nation. These are the words that you shall speak to the people of Israel.”
7 So Moses came and called the elders of the people and set before them all these words that the Lord had commanded him. 8 All the people answered together and said, “All that the Lord has spoken we will do.” And Moses reported the words of the people to the Lord. 9 And the Lordsaid to Moses, “Behold, I am coming to you in a thick cloud, that the people may hear when I speak with you, and may also believe you forever.”
When Moses told the words of the people to the Lord, 10 the Lord said to Moses, “Go to the people and consecrate them today and tomorrow, and let them wash their garments 11 and be ready for the third day. For on the third day the Lord will come down on Mount Sinai in the sight of all the people. 12 And you shall set limits for the people all around, saying, ‘Take care not to go up into the mountain or touch the edge of it. Whoever touches the mountain shall be put to death. 13 No hand shall touch him, but he shall be stoned or shot;  whether beast or man, he shall not live.’ When the trumpet sounds a long blast, they shall come up to the mountain.” 14 So Moses went down from the mountain to the people and consecrated the people; and they washed their garments. 15 And he said to the people, “Be ready for the third day; do not go near a woman.”
16 On the morning of the third day there were thunders and lightnings and a thick cloud on the mountain and a very loud trumpet blast, so that all the people in the camp trembled. 17 Then Moses brought the people out of the camp to meet God, and they took their stand at the foot of the mountain. 18 Now Mount Sinai was wrapped in smoke because the Lord had descended on it in fire. The smoke of it went up like the smoke of a kiln, and the whole mountain trembled greatly. 19 And as the sound of the trumpet grew louder and louder, Moses spoke, and God answered him in thunder. 20 The Lord came down on Mount Sinai, to the top of the mountain. And the Lord called Moses to the top of the mountain, and Moses went up.
21 And the Lord said to Moses, “Go down and warn the people, lest they break through to the Lord to look and many of them perish. 22 Also let the priests who come near to the Lord consecrate themselves, lest the Lord break out against them.” 23 And Moses said to the Lord, “The people cannot come up to Mount Sinai, for you yourself warned us, saying, ‘Set limits around the mountain and consecrate it.’” 24 And the Lordsaid to him, “Go down, and come up bringing Aaron with you. But do not let the priests and the people break through to come up to the Lord, lest he break out against them.” 25 So Moses went down to the people and told them.
The Ten Commandments
20:1 And God spoke all these words, saying,
2 “I am the Lord your God, who brought you out of the land of Egypt, out of the house of slavery.
3 “You shall have no other gods before  me.
4 “You shall not make for yourself a carved image, or 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. 5 You shall not bow down to them or serve them, for I the Lord your God am a jealous God, visiting the iniquity of the fathers on the children to the third and the fourth generation of those who hate me, 6 but showing steadfast love to thousands  of those who love me and keep my commandments.
7 “You shall not take the name of the Lord your God in vain, for the Lord will not hold him guiltless who takes his name in vain.
8 “Remember the Sabbath day, to keep it holy. 9 Six days you shall labor, and do all your work, 10 but the seventh day is a Sabbath to theLord your God. On it you shall not do any work, you, or your son, or your daughter, your male servant, or your female servant, or your livestock, or the sojourner who is within your gates. 11 For in six days the Lord made heaven and earth, the sea, and all that is in them, and rested on the seventh day. Therefore the Lord blessed the Sabbath day and made it holy.
12 “Honor your father and your mother, that your days may be long in the land that the Lord your God is giving you.
13 “You shall not murder. 
14 “You shall not commit adultery.
15 “You shall not steal.
16 “You shall not bear false witness against your neighbor.
17 “You shall not covet your neighbor’s house; you shall not covet your neighbor’s wife, or his male servant, or his female servant, or his ox, or his donkey, or anything that is your neighbor’s.”
18 Now when all the people saw the thunder and the flashes of lightning and the sound of the trumpet and the mountain smoking, the people were afraid  and trembled, and they stood far off 19 and said to Moses, “You speak to us, and we will listen; but do not let God speak to us, lest we die.” 20 Moses said to the people, “Do not fear, for God has come to test you, that the fear of him may be before you, that you may not sin.”21 The people stood far off, while Moses drew near to the thick darkness where God was.
Laws About Altars
22 And the Lord said to Moses, “Thus you shall say to the people of Israel: ‘You have seen for yourselves that I have talked with you from heaven. 23 You shall not make gods of silver to be with me, nor shall you make for yourselves gods of gold. 24 An altar of earth you shall make for me and sacrifice on it your burnt offerings and your peace offerings, your sheep and your oxen. In every place where I cause my name to be remembered I will come to you and bless you. 25 If you make me an altar of stone, you shall not build it of hewn stones, for if you wield your tool on it you profane it. 26 And you shall not go up by steps to my altar, that your nakedness be not exposed on it.’