31Then Moses went out and spoke these words to all Israel:
2"I am now a hundred and twenty years old and I am no longer able to lead you. The Lord has said to me, 'You shall not cross the Jordan.'
3The Lord your God himself will cross over ahead of you. He will destroy these nations before you, and you will take possession of their land. Joshua also will cross over ahead of you, as the Lord said.
4And the Lord will do to them what he did to Sihon and Og, the kings of the Amorites, whom he destroyed along with their land.
5The Lord will deliver them to you, and you must do to them all that I have commanded you.
6Be strong and courageous. Do not be afraid or terrified because of them, for the Lord your God goes with you; he will never leave you nor forsake you."
7Then Moses summoned Joshua and said to him in the presence of all Israel, "Be strong and courageous, for you must go with this people into the land that the Lord swore to their forefathers to give them, and you must divide it among them as their inheritance.
8The Lord himself goes before you and will be with you; he will never leave you nor forsake you. Do not be afraid; do not be discouraged."
9So Moses wrote down this law and gave it to the priests, the sons of Levi, who carried the ark of the covenant of the Lord , and to all the elders of Israel.
10Then Moses commanded them: "At the end of every seven years, in the year for canceling debts, during the Feast of Tabernacles,
11when all Israel comes to appear before the Lord your God at the place he will choose, you shall read this law before them in their hearing.
12Assemble the people-men, women and children, and the aliens living in your towns-so they can listen and learn to fear the Lord your God and follow carefully all the words of this law.
13Their children, who do not know this law, must hear it and learn to fear the Lord your God as long as you live in the land you are crossing the Jordan to possess."
14The Lord said to Moses, "Now the day of your death is near. Call Joshua and present yourselves at the Tent of Meeting, where I will commission him." So Moses and Joshua came and presented themselves at the Tent of Meeting.
15Then the Lord appeared at the Tent in a pillar of cloud, and the cloud stood over the entrance to the Tent.
16And the Lord said to Moses: "You are going to rest with your fathers, and these people will soon prostitute themselves to the foreign gods of the land they are entering. They will forsake me and break the covenant I made with them.
17On that day I will become angry with them and forsake them; I will hide my face from them, and they will be destroyed. Many disasters and difficulties will come upon them, and on that day they will ask, 'Have not these disasters come upon us because our God is not with us?'
18And I will certainly hide my face on that day because of all their wickedness in turning to other gods.
19"Now write down for yourselves this song and teach it to the Israelites and have them sing it, so that it may be a witness for me against them.
20When I have brought them into the land flowing with milk and honey, the land I promised on oath to their forefathers, and when they eat their fill and thrive, they will turn to other gods and worship them, rejecting me and breaking my covenant.
21And when many disasters and difficulties come upon them, this song will testify against them, because it will not be forgotten by their descendants. I know what they are disposed to do, even before I bring them into the land I promised them on oath."
22So Moses wrote down this song that day and taught it to the Israelites.
23The Lord gave this command to Joshua son of Nun: "Be strong and courageous, for you will bring the Israelites into the land I promised them on oath, and I myself will be with you."
24After Moses finished writing in a book the words of this law from beginning to end,
25he gave this command to the Levites who carried the ark of the covenant of the Lord :
26"Take this Book of the Law and place it beside the ark of the covenant of the Lord your God. There it will remain as a witness against you.
27For I know how rebellious and stiff-necked you are. If you have been rebellious against the Lord while I am still alive and with you, how much more will you rebel after I die!
28Assemble before me all the elders of your tribes and all your officials, so that I can speak these words in their hearing and call heaven and earth to testify against them.
29For I know that after my death you are sure to become utterly corrupt and to turn from the way I have commanded you. In days to come, disaster will fall upon you because you will do evil in the sight of the Lord and provoke him to anger by what your hands have made."
30And Moses recited the words of this song from beginning to end in the hearing of the whole assembly of Israel: