At the time when the LORD had made his solemn agreement with the people of Israel, he told them: Do not worship any other gods! Do not bow down to them or offer them a sacrifice.
The Israelites left Rephidim. Then two months after leaving Egypt, they arrived at the desert near Mount Sinai, where they set up camp at the foot of the mountain.
The LORD said: I promise to perform miracles for you that have never been seen anywhere on earth. Neighbouring nations will stand in fear and know that I was the one who did these marvellous things.
My commands haven't changed since I brought your ancestors out of Egypt, a nation that seemed like a blazing furnace where iron ore is melted. I told your ancestors that if they obeyed my commands, I would be their God, and they would be my people.
So Moses finished telling the Israelites what they had to do in order to keep the agreement the LORD was making with them in Moab, which was in addition to the one the LORD had made with them at Mount Sinai.
The LORD said he was making an agreement with you, and he told you that your part of the agreement is to obey the Ten Commandments. Then the LORD wrote these Commandments on two flat stones.