So Moses went and spoke these words to all Israel. And he said to them, “I am a hundred and twenty years old today; I am no longer able to come in and go out [as your spiritual and military leader], and the LORD has said to me, ‘You shall not cross this Jordan.’ It is the LORD your God who will cross ahead of you; He will destroy these nations before you, and you shall dispossess them. Joshua is the one who will go across before you [to lead you], just as the LORD has said. 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. The LORD will hand them over to you, and you shall do to them in accordance with all the commandments which I have commanded you. Be strong and courageous, do not be afraid or tremble in dread before them, for it is the LORD your God who goes with you. He will not fail you or abandon you.”
Then Moses called to Joshua and said to him in the sight of all [the people of] Israel, “Be strong and courageous, for you will go with this people into the land which the LORD has sworn to their fathers to give them, and you will give it to them as an inheritance. It is the LORD who goes before you; He will be with you. He will not fail you or abandon you. Do not fear or be dismayed.”
So Moses wrote 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. Then Moses commanded them, saying, “At the end of every seven years, at the time of year when debts are forgiven, at the Feast of Booths (Tabernacles), when all Israel comes to appear before the LORD your God in the place which He chooses, you shall read this law before all [the people of] Israel so that they may hear. Assemble the people, the men and the women and children and the stranger (resident alien, foreigner) within your cities, so that they may hear and learn and fear the LORD your God [with awe-filled reverence and profound respect], and be careful to obey all the words of this law. Their children, who have not known [the law], will hear and learn to fear [and worship] the LORD your God, as long as you live in the land which you are crossing the Jordan to possess.”
Then the LORD said to Moses, “Behold, the time for you to die is near; call Joshua, and present yourselves at the Tent of Meeting, so that I may commission him.” So Moses and Joshua went and presented themselves at the Tent of Meeting. Then the LORD appeared in the tent in a pillar of cloud, and the pillar of cloud stood beside the doorway of the tent. The LORD said to Moses, “Behold, you are about to lie down [in death] with your fathers; and this people will arise and play the prostitute (commit apostasy) with the foreign gods [of the people] of the land, where they go to be among them. They will abandon (turn away from) Me and break My covenant which I have made with them. Then My anger will be kindled and burn against them in that day, and I will abandon (turn away from) them and hide My face from them. They will be devoured, and many evils and troubles will come on them, so that they will say in that day, ‘Is it not because our God is not among us that these evils have come on us?’ But I will certainly hide My face [from them] in that day because of all the evil which they will do, for they will turn to other gods [to worship lifeless idols, to honor handmade relics].