Now therefore write this song, and teach it to the people of Israel; put it in their mouths, that this song may be a witness for me against the people of Israel.
For when I have brought them into the land flowing with milk and honey, which I swore to give to their fathers, and they have eaten and are full and grown fat, they will turn to other gods and serve them, and despise me and break my covenant.
And when many evils and troubles have come upon them, this song shall confront them as a witness (for it will live unforgotten in the mouths of their descendants); for I know the purposes which they are already forming, before I have brought them into the land that I swore to give."
So Moses wrote this song the same day, and taught it to the people of Israel.
And the LORD commissioned Joshua the son of Nun and said, "Be strong and of good courage; for you shall bring the children of Israel into the land which I swore to give them: I will be with you."
When Moses had finished writing the words of this law in a book, to the very end,
Moses commanded the Levites who carried the ark of the covenant of the LORD,
"Take this book of the law, and put it by the side of the ark of the covenant of the LORD your God, that it may be there for a witness against you.
For I know how rebellious and stubborn you are; behold, while I am yet alive with you, today you have been rebellious against the LORD; how much more after my death!
Assemble to me all the elders of your tribes, and your officers, that I may speak these words in their ears and call heaven and earth to witness against them.
For I know that after my death you will surely act corruptly, and turn aside from the way which I have commanded you; and in the days to come evil will befall you, because you will do what is evil in the sight of the LORD, provoking him to anger through the work of your hands."
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the 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. (Revised Standard Version - Holy Bible)