Short answer: Deuteronomy 31 is the transition from Moses to Joshua at the edge of the promised land. Moses, now one hundred twenty and unable to enter the land, tells Israel that Yahweh himself will go ahead of them and destroy the nations, and he tells Joshua twice to be strong and courageous on that same basis. The chapter then has Moses write the law, order it read aloud every seven years to everyone including children and foreigners, and write a song God says will testify against Israel when they turn to other gods. The chapter ends with Moses warning of coming rebellion and speaking that song to the assembly.
The setting of deuteronomy 31: a handover at the edge of the land
Deuteronomy 31 opens at a specific moment: Israel is camped on the plains of Moab, the Jordan ahead of them, and Moses is 120 years old. He tells the people plainly that he cannot go over the river and that Yahweh has said so. The occasion is a public assembly, not a private farewell. Moses speaks to all Israel, then calls Joshua forward in the sight of all Israel, then gives the written law to the priests and elders. The chapter is structured as a series of handovers: leadership to Joshua, the law to the priests, and a song to the whole nation.
The literary shape matters. Verses 1–8 are speech, first to the people and then to Joshua, and they repeat the same charge: be strong and courageous, because Yahweh himself goes with you and will not fail or forsake you. Verses 9–13 turn to instruction about reading the law aloud every seven years at the Feast of Booths, with men, women, children and foreigners all assembled to hear. Verses 14–23 move to the Tent of Meeting, where God appears in the pillar of cloud, announces Moses' death, predicts Israel's future unfaithfulness, and commands that a song be written and taught as a witness.
The chapter closes with Moses writing the law in a book, ordering it placed beside the ark as a witness, and gathering the elders and officers to hear his words. Then he speaks the song of chapter 32 to the whole assembly. So the passage is framed by witnesses: heaven and earth called to witness, the book placed beside the ark as a witness, and the song put in the people's mouths as a witness. Nothing here is a general promise of ease; it is a solemn, public transfer of authority and memory at the end of an era.
Moses hands over the leadership and the law
The chapter opens with Moses at one hundred twenty, telling Israel plainly that he cannot cross the Jordan. His words are not self-pity; they are a handover. Notice how the weight shifts from Moses to Yahweh in 31:3–6: Yahweh himself will go over before you, Yahweh will destroy the nations, Yahweh your God himself is who goes with you. The command to be strong and courageous rests on that fact, not on Joshua's temperament. Courage here is not a feeling but a conclusion drawn from who is traveling with them. The same charge is then given to Joshua publicly in 31:7–8, so the people hear it and so Joshua hears it in their presence.
Moses then writes the law and gives it to the priests and elders with a command about reading it aloud every seven years at the Feast of Booths, in the year of release. The assembly is deliberately broad: men, women, little ones, and the foreigners within the gates, so that they may hear, learn, fear Yahweh, and observe to do all the words of this law (31:12). The sequence matters. Hearing comes before learning, learning before fearing, and doing comes last. The purpose reaches past the current generation to children who have not known any of this yet. Worship and instruction are woven together in one commanded gathering.
Then the tone darkens. God tells Moses he will die, and that the people will eventually chase foreign gods and break the covenant. The song of 31:19–22 is written in advance as a witness, not as a curse spoken in anger. Alongside it, the book of the law is placed beside the ark as a witness against a stiff-necked people (31:26–27). Grace and warning sit together here: God still commissions Joshua with the promise, I will be with you (31:23), while refusing to pretend the people's rebellion is not coming. The passage teaches honest realism about the human heart and steady confidence in God's faithfulness at the same time.
Moses hands over leadership and puts the law in writing
The chapter opens with Moses at a hundred twenty, telling Israel he can no longer go out and come in and that Yahweh has barred him from crossing the Jordan. What he does next is the heart of the scene: he turns the people's eyes from himself to God. Yahweh himself will go over ahead of them, destroy the nations, and Joshua will lead. Twice Moses says be strong and courageous, and twice the reason given is not Joshua's ability but God's presence: he will not fail you nor forsake you. The courage commanded rests on a promise, not on a personality.
Moses then writes the law and hands it to the priests and elders with a command to read it aloud every seven years at the Feast of Booths, when all Israel gathers at the place God chooses. The assembly is deliberately broad: men, women, little ones, and the foreigners within the gates, so that they may hear, learn, fear Yahweh, and do all the words of this law. The next generation, who have not known, is named too. Instruction here is not for specialists; it is public reading, repeated, aimed at whole households and at strangers living among them.
At the Tent of Meeting God tells Moses plainly that the people will turn to foreign gods and break the covenant, and that his anger will burn and he will hide his face. So Moses writes a song and teaches it to Israel as a witness that will outlast him, and the book of the law is placed beside the ark for the same purpose. Even the commission to Joshua in 31:23 rests on God's word: “Be strong and courageous; for you shall bring the children of Israel into the land which I swore to them. I will be with you.” The passage holds warning and promise together.
Where readers disagree in deuteronomy 31
One live question is whether 31:6 and 31:8 promise Israel unbroken security. The words are spoken to a whole people about a specific journey into a specific land, and the same chapter records God telling Moses the people will later forsake him (31:16–18). Readers who take the promise as unconditional have to flatten that tension; readers who take it as merely tribal have to explain why Joshua is told personally, “I will be with you” (31:23). What stays central is that God's presence, not Israel's performance, is the ground of courage. The promise is real, and it is set inside a chapter that is honest about failure.
A second disagreement concerns Moses' exclusion from the land. Some read 31:2 as simple mortality, a hundred twenty years finally catching up. Others connect it to the earlier failure at the waters and treat it as discipline. The text here does not explain the reason; it only records Moses saying Yahweh told him he would not cross. Careful readers should notice the restraint. Moses does not argue, and he does not soften the news. He spends his remaining strength transferring leadership and preserving the law in writing. The passage describes his obedience without settling every question about why his road ended where it did.
A third question is what the song and the written law are for. The chapter calls both a witness against Israel (31:19, 31:26), which can sound harsh until you see the setting: God is not surprised by the rebellion he predicts, and he prepares a means for a later generation to hear, learn, and return. Whether the predicted judgment is fixed or leaves room for repentance is debated, and the text does not resolve it here. What is clear is that God arms a forgetful people with words they can still sing when everything has gone wrong.
The leader who leaves and the God who goes with us
Deuteronomy 31 is a handover scene, and its honesty is striking. Moses, one hundred twenty years old, tells Israel plainly that he cannot go over the Jordan. He does not soften it or pretend the transition will be easy. Then he immediately shifts the weight off himself: Yahweh your God himself will go over before you. The same note is sounded to Joshua in the sight of all Israel, and again when God commissions him in the Tent of Meeting. The people's future never rested on one indispensable man. It rested on the presence of God, who goes before, goes with, and will not fail or forsake.
Notice how the passage trains a whole community to remember. Moses writes the law and gives it to the priests and elders, then commands a public reading every seven years at the Feast of Booths. Everyone is assembled: men, women, little ones, and the foreigners within the gates. The purpose is stated twice, that they may hear, learn, fear Yahweh, and that their children who have not known may hear and learn too. Faith is not passed on by assumption but by ordinary, repeated, spoken instruction. The song of chapter 32 is written for the same reason, to stay in their mouths as a witness.
The passage is also unflinching about what God sees coming. God tells Moses the people will forsake him and break the covenant, and Moses tells them to their faces that they have been rebellious while he was still alive. Yet even the predicted failure is met with a song of witness, not abandonment. This is where the text points beyond itself. Israel's story keeps producing leaders who die and a people who wander, and the prophets keep longing for a heart-level obedience the law on stone could not produce. The gospel announces that God did not stay behind the cloud. He came in Christ, who did not fail or forsake us, and he gives his Spirit so that hearing becomes obedience.
What faithful response looks like in ordinary life
Moses does not end with a feeling but with an assembly. He writes the law and hands it to the priests and elders, then commands that it be read aloud every seven years at the Feast of Booths, when all Israel comes to appear before Yahweh (31:9–11). Notice who is gathered: men, women, little ones, and the foreigners within the gates. The purpose is stated plainly, that they may hear, learn, fear Yahweh, and observe to do all the words of this law (31:12). Faithful response begins with ordinary hearing, repeated on a schedule, in the presence of the whole household.
The song is the second ordinary practice. God tells Moses to write it and teach it to the children, to put it in their mouths as a witness (31:19). It is not a hymn for good days only; verse 21 says it will testify when troubles come, because it will not be forgotten out of the mouths of their descendants. Alongside the song, the book of the law is placed beside the ark as a witness (31:26). Two durable things remain after Moses dies: words in mouths and words beside the ark. Faithful response is keeping God's words where they can be heard again.
The third mark is courage rooted in God's going, not in circumstances. Moses tells the people not to fear because Yahweh goes with them, and he tells Joshua to be strong because Yahweh goes before him and will not fail or forsake him (31:6–8). The same charge is repeated when Joshua is commissioned at the Tent (31:23). This is not a promise of ease; the same chapter predicts rebellion and trouble. The courage rests on God's presence and his sworn word to Abraham, Isaac, and Jacob. Our response is to obey and cling to him, who is our life.
Biblical fidelity check
Deuteronomy 31 was read as a narrative of transition, not a collection of slogans. The chapter moves from Moses' farewell charge to the public commissioning of Joshua, the writing and depositing of the law, and the song taught as a witness. The main interpretive risk is lifting 31:6 and 31:8 out of this setting and turning them into a general promise of safety. In context the courage rests on God going ahead of Israel into the land, and the same chapter announces judgment for covenant breaking.
The real tension is between the assurance to Joshua and the forecast of Israel's failure in 31:16–21. Readers genuinely disagree over how to hold divine faithfulness and human rebellion together, and over whether the song's warning conditions or merely predicts. What stays central is that God remains the one who goes before his people, and that his word, written and sung, stands as witness. The call to be strong is not self-confidence but trust in the God who goes with them.
Following the theme of Deuteronomy 31:1-30 through Scripture
Continue into the song itself in Deuteronomy 1: Moses Rehearses Israel's Journey and Failure, then trace Joshua's commissioning and the crossing of the Jordan in Deuteronomy 10: Renewed Tablets and Heart Circumcision. For the wider shape of Moses' final speeches, see Deuteronomy 11: Love, Obey, Blessing and Curse, and for how the law was to be taught to children, compare Deuteronomy 12: One Place for Worship.
Frequently asked questions
Why does Moses say he cannot enter the promised land?
Moses states plainly that he is one hundred twenty years old and can no longer go out and come in, and that Yahweh told him he would not cross the Jordan. The text gives the age and the divine word as the reasons, without retelling the earlier incident that led to the restriction. What matters for the chapter is that Moses accepts the limit and immediately points Israel to God as the one who goes over before them. His exclusion does not stall the plan; it redirects attention from the leader to the Lord.
Why is "be strong and courageous" said more than once in this chapter?
The charge is repeated because it is spoken to different people for different tasks. Moses tells the whole assembly not to fear the nations, grounding courage in the fact that Yahweh goes with them and will not fail or forsake them. He then tells Joshua, publicly, to be strong because Joshua will bring the people into the land and cause them to inherit it. Later God himself commissions Joshua with the same words and adds a personal promise to be with him. The repetition is not redundancy but a chain of reassurance passed from leader to successor to God's own voice.
What is the song in Deuteronomy 31 for?
God tells Moses to write the song and teach it to the people so that it will be a witness against them. The song is not primarily a comfort; it is testimony that will still be on their descendants' lips when trouble comes, reminding them of what God said in advance. God explains that after being brought into a land flowing with milk and honey, eating and growing fat, the people will turn to other gods and break the covenant. The song is meant to outlast Moses and to speak when the predicted failure happens.