31
Deuteronomy

Moses’ Warning of Apostasy

Deuteronomy 31:14-29
14The LORD said to Moses, "Look! Your days have drawn near to die. Call Joshua and stand in the tent of meeting, and I will command him." So Moses went with Joshua, and they stood in the tent of meeting. 15The LORD appeared in the tent in a pillar of cloud, and the pillar of cloud stood over the entrance of the tent. 16The LORD said to Moses, "Behold, you are about to lie down with your fathers, and this people will rise and will prostitute themselves after the foreign gods of the land into which they are going, and they will forsake me and break my covenant that I made with them. 17My anger will burn against them on that day, and I will forsake them and hide my face from them; they will be devoured, and many evils and troubles will come upon them. On that day they will say, 'Have not these troubles come upon me because my God is not among me?' 18On that day I will surely hide my face because of all the evil they have done, for they have turned to other gods. 19Now therefore write this song for yourselves and teach it to Israel; put it in their mouths, so that this song may be a witness for me against the people of Israel. 20For I will bring them into the land that I swore to their fathers, a land flowing with milk and honey; they will eat and be satisfied and grow fat, then they will turn to other gods and serve them and despise me and break my covenant. 21When many evils and troubles come upon them, this song will testify against them as a witness, because it will not be forgotten from the mouths of their descendants; for I know the inclination they have even now, before I bring them into the land that I swore to give them." 22Moses wrote this song on that day and taught it to Israel. 23He commanded Joshua son of Nun and said, "Be strong and courageous, for you will bring Israel into the land that I swore to give them, and I will be with you." 24When Moses had finished writing the words of this law in a book until they were complete, 25Moses commanded the Levites who carried the ark of the covenant of the LORD, saying, 26"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. 27For I know your rebellion and your stubbornness. Look! Even while I am still alive with you today, you have been rebellious against the LORD; how much more after my death! 28Assemble to me all the elders of your tribes and your officers, that I may speak these words in their hearing and call heaven and earth to witness against them. 29For I know that after my death you will surely act corruptly and turn aside from the way that I have commanded you; disaster will befall you in the latter days, because you will do what is evil in the sight of the LORD, provoking him to anger by the work of your hands."

Key words in this passage

Cross-references

Study notes

The LORD confronts Moses and Joshua inside the tent of meeting with the certainty that Israel will break the covenant once settled in the land. This foreknowledge prompts the immediate creation of two lasting witnesses: a song placed in the people's mouths and the completed book of the law deposited beside the ark. Both stand ready to confront later generations when evils arrive. Joshua receives a separate charge accompanied by the promise of divine presence, while the people face the prospect of the hidden face. The entire exchange rests on the recognition that rebellion already marks the community even before Moses dies, so the witnesses serve to establish the justice of the coming judgment rather than to avert it.

What is Moses’ Warning of Apostasy about?

Moses stands with Joshua inside the tent of meeting after the LORD announces that his days are drawing to a close. A pillar of cloud descends and halts at the entrance while the voice declares that the people will soon rise up, prostitute themselves to the gods of the land they are about to enter, forsake the covenant, and provoke divine anger. The prediction is blunt: once they eat their fill in a land flowing with milk and honey they will turn aside, and many evils will follow until they ask why their God is no longer among them.

The same speech immediately requires Moses to write a song that will remain in Israel's mouth as a continuing witness. It also records the command to place the finished book of the law beside the ark and the public summons to the elders so that heaven and earth may hear the same charge. These instructions arise directly from the foreknowledge of Israel's stubbornness, which Moses himself confirms even while he is still alive. The verses therefore locate the transfer of leadership and the deposit of both song and law within a single moment of acknowledged future failure rather than within any expectation of lasting fidelity.

Where does this passage sit in Deuteronomy?

These verses follow directly after the command in 31:9-13 that the law be read aloud to all Israel every seventh year. The private encounter inside the tent of meeting therefore narrows the focus from the assembled nation to Moses and Joshua alone, yet the LORD’s words immediately push outward again by requiring a song that must be taught to the whole people. The pillar of cloud at the entrance recalls earlier moments when the LORD met Moses, but here the message centers on future forsaking rather than present guidance.

The song and the finished book of the law are then set side by side as parallel witnesses. Moses writes the song on the same day the command is given and teaches it at once, while the completed scroll is handed to the Levites who carry the ark. Both objects remain after Moses dies, one in the mouths of descendants and the other resting beside the ark. The language of testimony links them: the song will testify when evils arrive, and the book is placed so that it may remain as a witness against the people.

The circle widens once more when Moses orders the elders and officers to assemble. What began in the tent now reaches the leaders who will represent the tribes, and heaven and earth are called to listen. This movement from private revelation to written deposit to public summons places two lasting records—the song and the law—between the prediction of apostasy and the actual singing that begins in the next chapter. The arrangement ensures that the warning about turning to foreign gods after entering the land is preserved in forms that outlast any single leader.

How is the passage structured?

The verses open with the LORD directing Moses to summon Joshua into the tent of meeting so that a direct charge may be given. Moses and Joshua enter and stand inside. A pillar of cloud then descends and halts at the entrance, marking the shift from private instruction to public divine address. The cloud’s arrival frames the long speech that follows, in which the LORD first announces Moses’ imminent death and then describes the people’s future turn to foreign gods, the breaking of the covenant, and the resulting divine abandonment. That prediction reaches its sharpest point when the people themselves are imagined asking why their troubles have come.

At verse 19 the address pivots from forecast to command: Moses must compose a song and place it in Israel’s mouth so that the words themselves will later stand as testimony. The song’s purpose is restated in verse 21, underscoring its role once the predicted evils arrive. Verse 22 records the immediate execution of that order. The narrative then returns to Joshua; the LORD charges him directly to be strong and to lead the people into the land. After this brief commissioning, attention moves again to Moses, who completes the written record of the law and orders the Levites to deposit the finished book beside the ark. The Levites receive the book together with Moses’ blunt assessment of the people’s present rebellion.

The final movement gathers the elders and officers so that the same words may be spoken in their hearing and heaven and earth may be called as witnesses. The section therefore ends with Moses’ own declaration that corruption will follow his death and that disaster will come because of the people’s own actions. The sequence alternates between divine speech, immediate obedience, and Moses’ direct address, each block reinforcing the next without resolving the tension the LORD has already named.

What is the historical background?

The tent of meeting functioned as the designated place where the LORD met Moses face to face to issue commands and reveal his will. Its entrance served as the precise location for the pillar of cloud, the visible marker of divine presence that had guided Israel through the wilderness. This same cloud now stood over the entrance while the LORD addressed both Moses and Joshua inside.

Ancient covenant practice required written documents to be stored in a sanctuary near the symbols of divine authority. Moses therefore directed the Levites who carried the ark to place the finished book of the law beside the ark rather than inside it. The ark already held the original stone tablets; positioning the book next to it kept the expanded law under the same sacred custody while allowing it to serve as an ongoing witness.

Tribal Israel operated through recognized leaders. The elders of the tribes and the officers represented the people in formal gatherings, so Moses summoned them to hear the words and to stand under the testimony of heaven and earth. In covenant settings across the ancient Near East, heaven and earth commonly functioned as enduring witnesses because they outlasted any human generation.

Songs composed for public teaching likewise served memorial purposes. Moses wrote the song on the same day and taught it to Israel so that its words would remain on the lips of later generations. The Levites’ custody of the ark, the placement of the law book, and the public assembly together formed a single system for preserving both the written text and the sung testimony against future disobedience.

What does this passage teach about God?

The LORD declares his knowledge of Israel's future before they even cross the Jordan. He states that the people will eat their fill in the land flowing with milk and honey, grow fat, and then turn to other gods, break the covenant, and provoke him to anger. This foreknowledge shapes the entire exchange inside the tent. God does not wait for the rebellion to occur before responding; he already announces both the coming judgment and the means by which that judgment will be justified.

The hiding of the divine face stands at the center of the announced punishment. When the people ask why evils have overtaken them, the answer given in advance is that God has withdrawn his presence because they have turned to other gods. The same speech that predicts this withdrawal also supplies two enduring witnesses: the song Moses must teach and the book of the law placed beside the ark. Both remain after Moses dies, so that later generations cannot claim ignorance of what the covenant required.

Human stubbornness receives repeated emphasis. Moses tells the Levites that the people have already been rebellious while he is still alive; he expects worse once he is gone. The same realism appears in the command to assemble the elders so that heaven and earth may hear the words. The witnesses are not offered in hope that rebellion will be prevented, but so that the justice of the coming disaster will be clear when it arrives.

Joshua receives a different word. While the people are told what they will do, Joshua is told what God will do: "I will be with you." The promise of divine presence is transferred to the new leader even as it is withdrawn from the nation as a whole. The contrast underscores that covenant relationship depends on the people's response to the law and the song, not on any automatic guarantee attached to the land itself.

The passage therefore presents God as both the one who gives the land and the one who will judge its misuse, while the written and sung witnesses preserve the terms of that judgment for generations yet to come.

What are the interpretive difficulties?

One question the verses leave open concerns the timing of the song’s effectiveness. Moses writes it on the same day he receives the command, yet the LORD states that the song will testify only when evils arrive later. Nothing in the account indicates whether Israel sings it before the entry into the land or only after the troubles begin. The text simply records the writing and the teaching without describing any immediate public performance.

A second issue involves the relationship between divine foreknowledge and human responsibility. The LORD declares that the people already possess the inclination to turn aside, even before they cross the Jordan. At the same time Moses addresses the assembled elders and officers as those who must still choose to keep the words he will speak. The passage presents both claims side by side without explaining how the settled knowledge of future rebellion leaves room for present accountability.

The interruption at verse 23 also raises a question about sequence. After Moses finishes the song, the LORD directly charges Joshua to be strong. The charge stands between the completion of the song and the command to deposit the book of the law beside the ark. Readers must decide whether this order reflects a deliberate shift of attention to the new leader or simply records two separate instructions given on the same occasion.

Finally, the double witness of song and written law prompts reflection on their distinct functions. The song is placed in the mouths of the people themselves, while the book remains beside the ark under Levitical care. The text does not specify how these two witnesses interact when the people later ask why trouble has come upon them, nor does it indicate whether one is meant to supplement the other once Moses is gone.

Movement by movement

Summons and Theophany in the Tent31:14-15

The command reaches Moses with blunt directness: his days have drawn near to die, so he must call Joshua and stand with him inside the tent of meeting where the LORD will issue the charge. Moses acts at once. He and Joshua enter and stand there together, waiting. At that point the LORD appears, not in a private word alone but visibly, in a pillar of cloud that halts at the entrance of the tent. The cloud’s position at the threshold keeps the two men inside while signaling that what follows comes from the one who meets Israel at this appointed place. The appearance itself carries no further description of form or movement; the text simply records that the pillar stood over the entrance once they had taken their position. This moment narrows the scene to Moses and Joshua alone, yet the cloud’s arrival already anticipates the wider address that will name the people’s future rebellion and the need for a song to stand as witness. The same cloud that once guided the camp now marks the place where Joshua receives his commission and where the prediction of covenant breaking is first spoken.

The LORD Foretells Apostasy and Judgment31:16-18

The LORD announces that once Moses lies down with his fathers, this people will rise and prostitute themselves after the foreign gods of the land into which they are going. They will forsake the LORD and break the covenant made with them. The prediction moves immediately from Moses’ death to the people’s turning, linking the loss of their leader with the abandonment of the one who brought them out. Anger will burn against them on that day, leading to forsaking and the hiding of the divine face. The result is described as devouring, with many evils and troubles arriving until the people themselves ask whether these things have come because their God is not among them. The LORD then repeats the declaration that the face will be hidden because of all the evil done in turning to other gods. This double statement of hiding frames the people’s question as an acknowledgment rather than a resolution, since the troubles continue precisely because the turn has already occurred. The language of prostitution and forsaking draws on covenant imagery without softening the breach, while the hiding of the face marks the withdrawal of presence that the people will later name as the source of their distress.

The Song Commissioned as Witness31:19-22

The LORD directs Moses to write this song and teach it to Israel, placing the words in their mouths so that the song itself may stand as a witness against the people. The command comes right after the prediction that Israel will eat its fill in the land flowing with milk and honey, grow fat, turn to other gods, and break the covenant. By requiring the song to stay on their lips through their descendants, the instruction ensures that the same words will confront them when many evils and troubles later arrive. The LORD explains that the song will testify because it will not be forgotten from the mouths of their descendants, and he already knows the inclination they have even now, before they enter the land. Moses acts on the order without delay, writing the song on that day and teaching it to Israel. The account records the writing and teaching but gives no indication whether the people sing the song before they cross the Jordan or only after the troubles begin. The text therefore leaves the timing of its use open while fixing its future role as testimony rooted in the LORD’s present knowledge of their bent.

Charge Given to Joshua31:23

The LORD addresses Joshua son of Nun directly with the words, "Be strong and courageous. The command comes after the long prediction of Israel's future rebellion, yet it singles out Joshua for a task that will still move forward. He will bring Israel into the land that I swore to give them." The promise attached to the charge is simple and personal: I will be with you. No mention is made here of the song or the book of the law that Moses has just prepared. Instead the focus rests on Joshua's role as the one who will lead the people across the boundary Moses himself will not cross. The assurance of divine presence stands beside the earlier declaration that the people will forsake the covenant once they eat and grow fat in that same land. Joshua receives no guarantee that the nation will remain faithful, only the assurance that the LORD will accompany him in carrying out the sworn entry. The charge therefore places the weight of leadership on Joshua while the surrounding words keep the coming troubles plainly in view.

The Book of the Law Deposited and Leaders Assembled31:24-29

Moses finishes writing the words of this law in a book until they were complete. He immediately directs the Levites who carried the ark of the covenant of the LORD to 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. The written scroll now rests next to the ark itself, ready to confront the people after Moses is gone. He states plainly that he knows their rebellion and their stubbornness, pointing out that they have already been rebellious against the LORD while he remains alive with them today. After his death the pattern will only worsen. Moses therefore gathers the elders of the tribes and the officers so that he may speak these words in their hearing and call heaven and earth to witness against them. The disaster he foresees will come because they will do what is evil in the sight of the LORD, provoking him to anger by the work of their hands."

Notes accompany the Anselm Project Bible, an AI translation from the original languages. Tap any verse above for the committee's word-level decisions.

Tap a verse