When Moses had finished speaking these words to all Israel,
Moses opens this unit by naming the two facts that make everything else in the chapter necessary: he is a hundred and twenty years old and can no longer function as leader, and the LORD has already told him plainly that he will not cross the Jordan. Neither reason points to any failure of body or mind — nothing here suggests Moses has grown feeble — but simply to the plain limit God himself has set on his commission. Rather than dwelling on this loss, Moses turns immediately outward, first encouraging the people directly: the LORD their God will go before them, will destroy the nations opposing them exactly as he destroyed Sihon and Og, and will not fail or abandon them. The same victory already won becomes the evidence offered for the victories still to come — what God has already done is treated as the guarantee of what he has promised to do.
Then Moses called for 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 that the LORD swore to their fathers to give them, and you shall give it to them as an inheritance.
Continuing the unit anchored at Deuteronomy 31:1. The same charge given to the whole nation is now given to Joshua individually, deliberately in front of everyone present, so that the people themselves witness their new leader receiving the identical assurance Moses had just given them. Joshua is not commissioned as one stepping into an uncertain future on his own resources; the promise that the LORD himself goes ahead of him, and will never leave or forsake him, is stated in language later applied directly, without alteration, to every believer under an entirely different covenant. A leader's courage here is never presented as self-generated resolve, but as the appropriate response to a presence already guaranteed.
So 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.
Moses does not merely speak this law and let it fade into memory; he commits it to writing and entrusts it to two distinct groups at once — the priests who guard the ark, and the elders who govern the tribes — so that both the nation's spiritual and civil leadership share responsibility for its preservation. Neither group alone was given sole custody, a division of responsibility that kept the law's future from depending on any single office or person.
Assemble the people— men, women, children, and the foreigners within your gates— so that they may listen and learn to fear the LORD your God and to follow carefully all the words of this law.
Continuing the unit anchored at Deuteronomy 31:9. This public reading was timed deliberately for the sabbatical year, when the land itself rested and ordinary labor was suspended, giving the whole nation the leisure to actually attend and listen rather than treating the reading as a burden squeezed into an already full harvest calendar. Nobody was excluded from this particular assembly on the grounds of age, sex, or status: women and children, who were not required at the other pilgrimage feasts, were specifically named here, alongside the resident foreigner attached to the community. The purpose stated is not mere information but formation — hearing in order to learn, learning in order to fear the LORD, and fearing him in order to actually keep what has been heard, a chain in which none of the earlier links means anything without the one that follows it.
Then the LORD said to Moses, “Behold, the time of your death 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.
For the only time in this entire book, the visible glory of the LORD appears directly, in the same pillar of cloud already familiar from the earlier wilderness narrative, standing specifically over the entrance to the tent to formally commission Joshua before Moses' death. What God says in this appearance is neither vague nor comforting: after Moses dies, this people will abandon the covenant entirely, turning to the very gods of the land they are about to enter and provoking exactly the anger and hiding of God's face already described in the previous chapters' curses.
Now therefore, write down for yourselves this song and teach it to the Israelites; put it in their mouths, so that it may be a witness for Me against them.
Rather than simply repeating the warning just given, God responds to Israel's coming apostasy with a strategy suited to outlast Moses himself: a song, deliberately placed in the people's own mouths so that it might be remembered and sung long after the man who first delivered it has died. Unlike a written scroll a later generation might neglect or lose, a song learned by heart travels forward on its own, surfacing again exactly when its warning becomes most relevant — when the evils and troubles it foretells actually strike, and a later generation needs to hear from its own mouth why its ancestors' God had warned them all along.
When Moses had finished writing in a book the words of this law from beginning to end,
With the law's writing at last complete, Moses gives one final, explicit instruction: the finished book is to be placed beside the ark of the covenant itself, not inside it alongside the stone tablets, but positioned near enough to serve as a permanent witness. The chapter's own description of Moses completing this book "from beginning to end" and then instructing its placement has led some readers to locate the boundary of Moses' own writing precisely here, treating what follows — including, eventually, the account of his own death in the final chapter — as a short continuation added by another inspired hand shortly afterward, by long tradition Joshua's. Others hold that Moses himself, under direct prophetic inspiration, could as easily have recorded his own commissioning of a successor and even anticipated his death in the third person, a literary convention not unknown elsewhere in Scripture. Neither position touches the substance in dispute among the traditions this project surveys; both agree without qualification that the law itself is Mosaic and that the record, however it reached its final form, is fully trustworthy. Before Moses is finished, he speaks one more hard truth to the gathered elders and officers: this people has been rebellious against the LORD even while Moses himself stood among them in full strength, and there is no reason to expect anything but worse once his own restraining presence is removed.