On that day I will surely hide my face on account of all the evil they have done by turning to other gods.
Now therefore write this song, and teach it to the Israelites; put it in their mouths, in order that this song may be a witness for me against the Israelites.
For when I have brought them into the land flowing with milk and honey, which I promised on oath to their ancestors, and they have eaten their fill and grown fat, they will turn to other gods and serve them, despising me and breaking my covenant.
And when many terrible troubles come upon them, this song will confront them as a witness, because it will not be lost from the mouths of their descendants. For I know what they are inclined to do even now, before I have brought them into the land that I promised them on oath."
That very day Moses wrote this song and taught it to the Israelites.
Then the Lord commissioned Joshua son of Nun and said, "Be strong and bold, for you shall bring the Israelites into the land that I promised them; I will be with you."
When Moses had finished writing down in a book the words of this law to the very end,
Moses commanded the Levites who carried the ark of the covenant of the Lord, saying,
"Take this book of the law and put it beside the ark of the covenant of the Lord your God; let it remain there as a witness against you.
For I know well how rebellious and stubborn you are. If you already have been so rebellious toward the Lord while I am still alive among you, how much more after my death!
Assemble to me all the elders of your tribes and your officials, so that I may recite these words in their hearing and call heaven and earth to witness against them.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (New Revised Standard Bible Version Online)