You saw with your own eyes what the LORD did at Baal Peor. The LORD your God destroyed from among you everyone who followed the Baal of Peor,
but all of you who held fast to the LORD your God are still alive today.
See, I have taught you decrees and laws as the LORD my God commanded me, so that you may follow them in the land you are entering to take possession of it.
Observe them carefully, for this will show your wisdom and understanding to the nations, who will hear about all these decrees and say, “Surely this great nation is a wise and understanding people.”
What other nation is so great as to have their gods near them the way the LORD our God is near us whenever we pray to him?
And what other nation is so great as to have such righteous decrees and laws as this body of laws I am setting before you today?
Only be careful, and watch yourselves closely so that you do not forget the things your eyes have seen or let them fade from your heart as long as you live. Teach them to your children and to their children after them.
Remember the day you stood before the LORD your God at Horeb, when he said to me, “Assemble the people before me to hear my words so that they may learn to revere me as long as they live in the land and may teach them to their children.”
You came near and stood at the foot of the mountain while it blazed with fire to the very heavens, with black clouds and deep darkness.
Then the LORD spoke to you out of the fire. You heard the sound of words but saw no form; there was only a voice.
He declared to you his covenant, the Ten Commandments, which he commanded you to follow and then wrote them on two stone tablets.