14 Then the Lord said to Moses, “The time has come for you to die. Call Joshua and present yourselves at the Tabernacle, 1 so that I may commission him there.” So Moses and Joshua went and presented themselves at the Tabernacle. 15 And the Lord appeared to them in a pillar of cloud that stood at the entrance to the sacred tent.
16 The Lord said to Moses, “You are about to die and join your ancestors. After you are gone, these people will begin to worship foreign gods, the gods of the land where they are going. They will abandon me and break my covenant that I have made with them. 17 Then my anger will blaze forth against them. I will abandon them, hiding my face from them, and they will be devoured. Terrible trouble will come down on them, and on that day they will say, ‘These disasters have come down on us because God is no longer among us!’ 18 At that time I will hide my face from them on account of all the evil they commit by worshiping other gods.
19
“So write down the words of this song, and teach it to the people of Israel. Help them learn it, so it may serve as a witness for me against them.
20
For I will bring them into the land I swore to give their ancestors - a land flowing with milk and honey. There they will become prosperous, eat all the food they want, and become fat. But they will begin to worship other gods; they will despise me and break my covenant.
21
And when great disasters come down on them, this song will stand as evidence against them, for it will never be forgotten by their descendants. I know the intentions of these people, even now before they have entered the land I swore to give them.”
22
So that very day Moses wrote down the words of the song and taught it to the Israelites.
23
Then the Lord commissioned Joshua son of Nun with these words: “Be strong and courageous, for you must bring the people of Israel into the land I swore to give them. I will be with you.”
24 When Moses had finished writing this entire body of instruction in a book, 25 he gave this command to the Levites who carried the Ark of the Lord ’s Covenant: 26 “Take this Book of Instruction and place it beside the Ark of the Covenant of the Lord your God, so it may remain there as a witness against the people of Israel. 27 For I know how rebellious and stubborn you are. Even now, while I am still alive and am here with you, you have rebelled against the Lord . How much more rebellious will you be after my death! 28 “Now summon all the elders and officials of your tribes, so that I can speak to them directly and call heaven and earth to witness against them. 29 I know that after my death you will become utterly corrupt and will turn from the way I have commanded you to follow. In the days to come, disaster will come down on you, for you will do what is evil in the Lord ’s sight, making him very angry with your actions.”