Deuteronomy 31:12-22

12 Call together all the men, women, and children, and the foreigners who live in your towns, so that everyone may hear it and learn to honor the Lord your God and to obey his teachings faithfully.
13 In this way your descendants who have never heard the Law of the Lord your God will hear it. And so they will learn to obey him as long as they live in the land that you are about to occupy across the Jordan."
14 Then the Lord said to Moses, "You do not have much longer to live. Call Joshua and bring him to the Tent, so that I may give him his instructions." Moses and Joshua went to the Tent,
15 and the Lord appeared to them there in a pillar of cloud that stood by the door of the Tent.
16 The Lord said to Moses, "You will soon die, and after your death the people will become unfaithful to me and break the covenant that I made with them. They will abandon me and worship the pagan gods of the land they are about to enter.
17 When that happens, I will become angry with them; I will abandon them, and they will be destroyed. Many terrible disasters will come upon them, and then they will realize that these things are happening to them because I, their God, am no longer with them.
18 And I will refuse to help them then, because they have done evil and worshiped other gods.
19 "Now, write down this song. Teach it to the people of Israel, so that it will stand as evidence against them.
20 I will take them into this rich and fertile land, as I promised their ancestors. There they will have all the food they want, and they will live comfortably. But they will turn away and worship other gods. They will reject me and break my covenant,
21 and many terrible disasters will come on them. But this song will still be sung, and it will stand as evidence against them. Even now, before I take them into the land that I promised to give them, I know what they are thinking."
22 That same day Moses wrote down the song and taught it to the people of Israel.

Deuteronomy 31:12-22 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 31

Moses being old, and knowing he should quickly die, and must not go over Jordan with the people of Israel, acquaints them with it, and encourages them and Joshua to go over notwithstanding, and not be afraid of their enemies, since the Lord would go with them, and deliver them into their hands, De 31:1-8; and having written the law, he delivered it to the priests, and ordered that it should be read at the end of every seven years before all the people, that they and theirs might learn it, and fear the Lord, De 31:9-13; and whereas the death of Moses was very near, and the Lord foreseeing the people would quickly fall into idolatry, which would bring great calamities upon them, he directed Moses to write a song, which should be a witness for him, and against them, in ages to come; which Moses accordingly did, De 31:14-22; and Moses having given a charge to Joshua, and finished the writing of the law in a book, gave it to the Levites to put it in the side of the ark, De 31:23-27; and then ordered the chief of the tribes to be gathered together, that he might deliver the song, which by the direction and under the inspiration of God he had written, De 31:28-30; which song is recorded in De 32:1-43.

Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.