1 Moses went and explained these things to everyone in Israel. 2 Then he concluded, "I'm now 120 years old. I'm not able to get around anymore, 3 and the LORD told me, "You won't be crossing the Jordan River.' But the LORD your God is crossing over before you. He will destroy these nations in front of you and you will dispossess them. As for Joshua, he will cross over before you, just as the LORD promised. 4 The LORD will do to them just as he did to Sihon and Og, the kings of the Amorites, and to their land when he destroyed them. 5 The LORD will hand them over to you, so you can do to them what I've instructed you to do. 6 Be strong and courageous. Don't fear or tremble before them, because the LORD your God will be the one who keeps on walking with you he won't leave you or abandon you."
7 Then Moses called on Joshua and told him in the presence of everyone in Israel, "Be strong and courageous, because you'll bring this people to the land that the LORD your God had promised to give your ancestors. You will be the one who causes them to possess it. 8 Indeed, the LORD is the one who will keep on walking in front of you. He'll be with you and won't leave you or abandon you, so never be afraid and never be dismayed."
9 Then Moses wrote down this Law and gave it to the Levitical priests who carry the Ark of the Covenant of the LORD and to all of Israel's leaders. 10 Then he gave these orders: "At the end of seven years, the year designated for release, during the Festival of Tents, 11 when all of Israel comes to appear in the presence of the LORD your God at the place that he'll choose, read this Law aloud to them. 12 Gather the people the men, women, children, and the foreigners that live in your cities so they may hear and fear the LORD your God, and so they may be careful to obey the words contained in this Law. 13 Their children who don't know will hear and learn to fear the LORD your God as long as you live in the land that you are crossing the Jordan River to possess."
14 Then the LORD told Moses: "Look! Because your time to die is approaching, call Joshua, present yourselves at the Tent of Meeting, and then I will commission him." Moses and Joshua complied and presented themselves at the Tent of Meeting. 15 So the LORD appeared at the tent in a pillar of cloud that stood above the entrance.
16 Then the LORD told Moses, "Look! You are about to join your ancestors. Afterwards, this people will rebel and commit prostitution with the foreign gods of the land that they are about to enter to possess. They will abandon me and break my covenant that I made with them. 17 When that happens, my anger will burn against them, because they will have abandoned me. I'll hide my face from them, they will be consumed, and many evils and distresses will find them. When this happens, they will say, "These troubles have happened to us because God isn't among us.' 18 I'll surely hide my face in that day on account of the evil that they will have done for they turned to other gods." 19 "Now write this song and teach it to the Israelis. Put this song in their very mouths, so that it will be a witness for me against the Israelis, 20 because after I've brought them to the land flowing with milk and honey that I promised to their ancestors by an oath, they'll eat, grow fat, and then they'll turn to other gods and serve them, while despising me and breaking my covenant. 21 Then, when many evils and troubles will have come upon them, this song will serve as a witness against them, since their descendants won't fail to sing it. I know the plan that they are devising even before I bring them into the land that I promised them by an oath." 22 So Moses wrote the song that very day and taught it to the Israelis.
23 Then the LORD charged Nun's son Joshua, "Be strong and courageous, because you'll bring the Israelis to the land that I promised to them by an oath. I'll be with you."
24 When Moses had finished writing the words of this Law in a book, 25 he gave this charge to the descendants of Levi who carried the Ark of the Covenant of the LORD: 26 "Take the book of this Law and set it beside the Ark of the Covenant of the LORD your God. Let it remain there with you as witness against you, 27 because indeed I know your rebellion and stubbornness. Note that even while I'm still alive, you've been rebelling against the LORD how much more so after my death! 28 Gather together the leaders of your tribes and your foremen so I can speak these words in their hearing and call heaven and the earth as witnesses against them, 29 because I know that after my death, you'll surely act wickedly and turn from the road that I've instructed you. As a result, evil will fall on you in days to come, because you'll act wickedly in the sight of the LORD, causing him to become angry due to your behavior." 30 So Moses spoke the words of this song to the very end in front of the entire assembly of Israel.