14 And the Lord said to Moses, Behold, your days are nearing when you must die. Call Joshua and present yourselves at the Tent of Meeting, that I may give him his charge. And Moses and Joshua went and presented themselves at the Tent of Meeting. 15 And the Lord appeared in the Tent in a pillar of cloud, and the pillar of cloud stood over the door of the Tent.
16 And the Lord said to Moses, Behold, you shall sleep with your fathers, and this people will rise up and play the harlot after the strange gods of the land where they go to be among them; and they will forsake Me and break My covenant which I have made with them. 17 Then My anger will be kindled against them in that day, and I will forsake them and hide My face from them. And they shall be devoured, and many evils and troubles shall befall them, so that they will say in that day, Have not these evils come upon us because our God is not among us? 18 And I will surely hide My face in that day because of all the evil which they have done in turning to other gods.
19 And now write this song for yourselves and teach it to the Israelites; put it in their mouths, that this song may be a witness for Me against the Israelites. 20 For when I have brought them into the land which I swore to their fathers, a land flowing with milk and honey, and they have eaten and filled themselves and become fat, then they will turn to other gods and serve them, and despise and scorn Me and break My covenant. 21 And when many evils and troubles have befallen them, this [sacred] song will confront them as a witness, for it will never be forgotten from the mouths of their descendants. For I know their strong desire and the purposes which they are forming even now, before I have brought them into the land which I swore to give them. 22 Moses wrote this song the same day and taught it to the Israelites.
23 And [the Lord] charged Joshua son of Nun, Be strong and courageous and firm, for you shall bring the Israelites into the land which I swore to give them, and I will be with you.
24 And when Moses had finished writing the words of this law in a book to the very end, 25 He commanded the Levites who carried the ark of the covenant of the Lord, 26 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. 27 For I know your rebellion and stubbornness; behold, while I am yet alive with you today, you have been rebellious against the Lord; and how much more after my death! 28 Gather 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. 29 For I know that after my death you will utterly corrupt yourselves and turn aside from the way which I have commanded you; and evil will befall you in the latter days because you will do what is evil in the sight of the Lord, to provoke Him to anger through the work of your hands.