Then 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 ancestors to give them, and you must divide it among them as their inheritance.
The 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.”
So Moses wrote down this law and gave it to the Levitical priests, who carried the ark of the covenant of the LORD, and to all the elders of Israel.
Then Moses commanded them: “At the end of every seven years, in the year for canceling debts, during the Festival of Tabernacles,
when 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.
Assemble the people—men, women and children, and the foreigners residing in your towns—so they can listen and learn to fear the LORD your God and follow carefully all the words of this law.
Their 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.”
The 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.
Then the LORD appeared at the tent in a pillar of cloud, and the cloud stood over the entrance to the tent.
And the LORD said to Moses: “You are going to rest with your ancestors, 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.
And in 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 calamities will come on them, and in that day they will ask, ‘Have not these disasters come on us because our God is not with us?’