Then Moses continued to speak these words to all Israel,
saying, "I am now 120 years old; I can no longer act as your leader. The Lord has told me, 'You will not cross this Jordan.'
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.
The Lord will deal with them as He did Sihon and Og, the kings of the Amorites, and their land when He destroyed them.
The Lord will deliver them over to you, and you must do to them exactly as I have commanded you.
Be strong and courageous; don't be terrified or afraid of them. For it is the Lord your God who goes with you; He will not leave you or forsake you."
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 fathers. You will enable them to take possession of it.
The Lord is the One who will go before you. He will be with you; He will not leave you or forsake you. Do not be afraid or discouraged."
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.
Moses commanded them, "At the end of [every] seven years, at the appointed time in the year of debt cancellation, during the Festival of Booths,
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.
Gather the people-men, women, children, and foreigners living within your 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.
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."
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,
the Lord appeared at the tent in a pillar of cloud, and the cloud stood at the entrance to the tent.
The Lord said to Moses, "You are about to rest with your fathers, and this people will soon commit adultery with the foreign gods of the land they are entering. They will abandon Me and break the covenant I have made with them.
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?'
I will certainly hide My face on that day because of all the evil they have done by turning to other gods.
Therefore write down this song for yourselves and teach it to the Israelites; have them recite it, so that this song may be a witness for Me against the Israelites.
When I bring them into the land I swore to [give] their fathers, [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.
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]."
So Moses wrote down this song on that day and taught it to the Israelites.
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."
When Moses had finished writing down on a scroll every single word of this law,
he commanded the Levites who carried the ark of the Lord's covenant,
"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.
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!
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.
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, infuriating Him with what your hands have made."
Then Moses recited aloud every single word of this song to the entire assembly of Israel: