# Chapter 31
1 Then Moses continued to speak these words to all Israel,
2 saying, “I am now 120 years old; I can no longer act as your leader. The Lord has told me, ‘You will not cross the Jordan.’
3 The Lord your God is the one who will cross ahead of you. He will destroy these nations before you, and you will drive them out. Joshua is the one who will cross ahead of you, as the Lord has said.
4 The Lord will deal with them as he did Sihon and Og, the kings of the Amorites, and their land when he destroyed them.
5 The Lord will deliver them over to you, and you must do to them exactly as I have commanded you.
6 Be strong and courageous; don’t be terrified or afraid of them. For the Lord your God is the one who will go with you; he will not leave you or abandon you.”
7 Moses then summoned Joshua and said to him in the sight of all Israel, “Be strong and courageous, for you will go with this people into the land the Lord swore to give to their ancestors. You will enable them to take possession of it.
8 The Lord is the one who will go before you. He will be with you; he will not leave you or abandon you. Do not be afraid or discouraged.”
9 Moses wrote down this law and gave it to the priests, the sons of Levi, who carried the ark of the Lord’s covenant, and to all the elders of Israel.
10 Moses commanded them, “At the end of every seven years, at the appointed time in the year of debt cancellation, during the Festival of Shelters,
11 when all Israel assembles in the presence of the Lord your God at the place he chooses, you are to read this law aloud before all Israel.
12 Gather the people—men, women, dependents, and the resident aliens within your city gates—so that they may listen and learn to fear the Lord your God and be careful to follow all the words of this law.
13 Then their children who do not know the law will listen and learn to fear the Lord your God as long as you live in the land you are crossing the Jordan to possess.”
14 The Lord said to Moses, “The time of your death is now approaching. Call Joshua and present yourselves at the tent of meeting so that I may commission him.” When Moses and Joshua went and presented themselves at the tent of meeting,
15 the Lord appeared at the tent in a pillar of cloud, and the cloud stood at the entrance to the tent.
16 The Lord said to Moses, “You are about to rest with your ancestors, and these people will soon prostitute themselves with the foreign gods of the land they are entering. They will abandon me and break the covenant I have made with them.
17 My anger will burn against them on that day; I will abandon them and hide my face from them so that they will become easy prey. Many troubles and afflictions will come to them. On that day they will say, ‘Haven’t these troubles come to us because our God is no longer with us?’
18 I will certainly hide my face on that day because of all the evil they have done by turning to other gods.
19 Therefore write down this song for yourselves and teach it to the Israelites; have them sing it, so that this song may be a witness for me against the Israelites.
20 When I bring them into the land I swore to give their ancestors, a land flowing with milk and honey, they will eat their fill and prosper. They will turn to other gods and worship them, despising me and breaking my covenant.
21 And when many troubles and afflictions come to them, this song will testify against them, because their descendants will not have forgotten it. For I know what they are prone to do, even before I bring them into the land I swore to give them.”
22 So Moses wrote down this song on that day and taught it to the Israelites.
23 The Lord commissioned Joshua son of Nun, “Be strong and courageous, for you will bring the Israelites into the land I swore to them, and I will be with you.”
24 When Moses had finished writing down on a scroll every single word of this law,
25 he commanded the Levites who carried the ark of the Lord’s covenant,
26 “Take this book of the law and place it beside the ark of the covenant of the Lord your God so that it may remain there as a witness against you.
27 For I know how rebellious and stiff-necked you are. If you are rebelling against the Lord now, while I am still alive, how much more will you rebel after I am dead!
28 Assemble all your tribal elders and officers before me so that I may speak these words directly to them and call heaven and earth as witnesses against them.
29 For I know that after my death you will become completely corrupt and turn from the path I have commanded you. Disaster will come to you in the future, because you will do what is evil in the Lord’s sight, angering him with what your hands have made.”
30 Then Moses recited aloud every single word of this song to the entire assembly of Israel: