See on the biblical-era map
Study This Verse
Commentary on Deuteronomy 31 verses 14–21
Here, I. Moses and Joshua are summoned to attend the divine majesty at the door of the tabernacle, Deu 31:14. Moses is told again that he must shortly die; even those that are most ready and willing to die have need to be often reminded of the approach of death. In consideration of this, he must come himself to meet God; for whatever improves our communion with God furthers our preparation for death. He must also bring Joshua with him to be presented to God for a successor, and to receive his commission and charge. Moses readily obeys the summons, for he was not one of those that look with an evil eye upon their successors, but, on the contrary, rejoiced in him.
II. God graciously gives them the meeting: He appeared in the tabernacle (as the shechinah used to appear) in a pillar of a cloud, v. 15. This is the only time in all this book that we read of the glory of God appearing, whereas we often read of it in the three foregoing books, which perhaps signifies that in the latter days, under the evangelical law, such visible appearances as these of the divine glory are not to be expected, but we must take heed to the more sure word of prophecy.
III. He tells Moses that, after his death, the covenant which he had taken so much pains to make between Israel and their God would certainly be broken. 1. That Israel would forsake God, v. 16. And we may be sure that if the covenant between God and man be broken the blame must lie on man, it is he that breaks it; we have often observed it, That God never leaves any till they first leave him. Worshipping the gods of the Canaanites (who had been the natives, but henceforward were to be looked upon as the strangers of that land) would undoubtedly be counted a deserting of God, and, like adultery, a violation of the covenant. Thus still those are revolters from Christ, and will be so adjudged, who either make a god of their money by reigning covetousness or a god of their belly by reigning sensuality. Those that turn to other gods (v. 18) forsake their own mercies. This apostasy of theirs is foretold to be the effect of their prosperity (v. 20): They shall have eaten and filled themselves; this is all they will aim at in eating, to gratify their own appetites, and then they will wax fat, grow secure and sensual; their security will take off their dread of God and his judgments; and their sensuality will incline them to the idolatries of the heathen, which made provision for the flesh to fulfil the lusts of it. Note, God has a clear and infallible foresight of all the wickedness of the wicked, and has often covenanted with those who he knew would deal very treacherously (Isa 48:8), and conferred many favours on those who he knew would deal very ungratefully. 2. That then God would forsake Israel; and justly does he cast those off who had so unjustly cast him off (v. 17): My anger shall be kindled against them, and I will forsake them. His providence would forsake them, no longer to protect and prosper them, and then they would become a prey to all their neighbours. His spirit and grace would forsake them, no longer to teach and guide them, and then they would be more and more bigoted, besotted, and hardened in their idolatries. Thus many evils and troubles would befal them. (v. 17, 21), which would be such manifest indications of God's displeasure against them that they themselves would be constrained to own it: Have not these evils come upon us because our God is not among us? Those that have sinned away their God will find that thereby they pull all mischiefs upon their own heads. But that which completed their misery was that God would hide his face from them in that day, that day of their trouble and distress, v. 18. Whatever outward troubles we are in, if we have but the light of God's countenance, we may be easy. But, if God hide his face from us and our prayers, we are undone.
IV. He directs Moses to deliver them a song, in the composing of which he should be divinely inspired, and which should remain a standing testimony for God as faithful to them in giving them warning, and against them as persons false to themselves in not taking the warning, v. 19. The written word in general, as well as this song in particular, is a witness for God against all those that break covenant with him. It shall be for a testimony, Mat 24:14. The wisdom of man has devised many ways of conveying the knowledge of good and evil, by laws, histories, prophecies, proverbs, and, among the rest, by songs; each has its advantages. And the wisdom of God has in the scripture made use of them all, that ignorant and careless men might be left inexcusable. 1. This song, if rightly improved, might be a means to prevent their apostasy; for in the inditing of it God had an eye to their present imagination, now, before they were brought into the land of promise, Deu 31:21. God knew very well that there were in their hearts such gross conceits of the deity, and such inclinations of idolatry, that they would be tinder to the sparks of that temptation; and therefore in this song he gives them warning of their danger that way. Note, The word of God is a discerner of the thoughts and intents of men's hearts, and meets with them strangely by its reproofs and corrections, Heb 4:12. Compare Co1 14:25. Ministers who preach the word know not the imaginations men go about, but God, whose word it is, knows perfectly. 2. If this song did not prevent their apostasy, yet it might help to bring them to repentance, and to recover them from their apostasy. When their troubles come upon them, this song shall not be forgotten, but may serve as a glass to show them their own faces, that they may humble themselves, and return to him from whom they have revolted. Note, Those for whom God has mercy in store he may leave to fall, yet he will provide means for their recovery. Medicines are prepared before-hand for their cure.
Continue studying Deuteronomy 31:21 across the web’s major study libraries — every link below opens this exact verse, chapter, or book on the destination site.
Read & Compare
- BibleGatewayThis verse in more than 200 translations and 70 languages.
- Bible.comThe YouVersion reader — hundreds of translations, reading plans, and highlights.
- ESV.orgCrossway's official English Standard Version reader.
- NET BibleThe NET translation with 60,000+ translators' notes on every rendering decision.
- STEP BibleTyndale House's free study tool — original text, vocabulary, and scholarly resources.
- BibliaLogos Bible Software's free web reader.
- USCCBThe New American Bible (Revised Edition) with the U.S. bishops' study notes.
Commentaries
- BibleHub CommentariesDozens of classic commentaries on this verse, gathered on one page.
- StudyLightMore than 100 commentary sets — the largest collection on the web.
- BibleRefPlain-English commentary on what this verse means, verse by verse.
- Enduring WordDavid Guzik's free commentary on this chapter, widely used by Bible teachers.
- Bible Study ToolsVerse commentary alongside Greek and Hebrew study aids.
Original Language & Research
- BibleHub InterlinearThe verse word by word — original language, transliteration, and English.
- BibleHub LexiconEvery word's original-language definition and Strong's entry.
- Blue Letter BibleDeep-study tools — Strong's numbers, concordance, and word studies.
- SefariaThe Hebrew text with Rashi and centuries of Jewish commentary.
Sermons, Hymns & Audio
TrulyRandomVerse is not affiliated with these sites and doesn’t control their content. They’re linked because they’re genuinely useful.

SUMMARY
Deuteronomy 31:21 profoundly unveils God's omniscient foreknowledge of Israel's future apostasy and the strategic role of a divinely inspired song as an enduring witness against their disobedience. It underscores the Lord's perfect understanding of humanity's inherent inclination toward rebellion, even before the Israelites fully possess the Promised Land, demonstrating His sovereign wisdom in preparing a perpetual testimony to His faithfulness and their covenantal obligations.
CONTEXT
EXPOSITION AND ANALYSIS
Key Word Analysis
Verse Breakdown
Literary Devices
Deuteronomy 31:21 employs several powerful literary devices. The primary device is Prophecy, as God explicitly foretells Israel's future apostasy and the resulting "evils and troubles" long before they occur. This is coupled with Foreshadowing, as the song itself is presented as a future witness, anticipating the very events it will testify against. The "song" functions as a potent Symbolism, representing God's enduring Word, His covenant faithfulness, and the indelible record of Israel's history. It is not just a collection of words but a living, active testimony. There is also a subtle form of Anthropomorphism in God stating, "I know their imagination," attributing to God a human-like understanding of internal thoughts and inclinations, though in a divine, perfect, and comprehensive sense. The structure of the verse, moving from predicted outcome to the witness, and then to the divine rationale, creates a compelling and logical argument for the song's vital role in God's sovereign plan for His people.
THEOLOGICAL AND THEMATIC CONNECTIONS
Deuteronomy 31:21 stands as a powerful testament to God's omniscience and His unwavering commitment to justice within the framework of His covenant relationship with Israel. It reveals that God's knowledge is not merely passive awareness but an active, sovereign foreknowledge that informs His redemptive plan and His just judgments. The song serves as a perpetual reminder of the covenant's terms and Israel's inherent tendency to stray, highlighting the deep theological truth that human sinfulness is not merely circumstantial but rooted in a fundamental inner disposition, often referred to as the "evil inclination" in Jewish tradition. This verse underscores the necessity of divine intervention and a profound transformation of the human heart, a theme that echoes throughout salvation history.
REFLECTION AND APPLICATION
Deuteronomy 31:21 offers profound insights for believers today. It reminds us that God's knowledge of our hearts and our predispositions is absolute. He sees beyond our outward actions to the "imagination" of our hearts, understanding our deepest inclinations and potential for sin. This should not lead to despair but to a humble recognition of our desperate need for divine grace and transformation. Just as the song served as an enduring witness for Israel, God's Word today serves as a perpetual guide, a mirror reflecting our true spiritual condition, and a lamp illuminating the path of righteousness. We are called to internalize biblical truths, allowing them to shape our "imagination" and desires, rather than yielding to our fallen nature. The warnings in Scripture are not punitive but redemptive, designed to guide us away from "evils and troubles" and towards life in Christ. Our response to God's foreknowledge of our weaknesses should be a greater reliance on His strength and a deeper commitment to His revealed will, knowing that His warnings are given out of perfect love and wisdom, always aiming for our ultimate good and His glory.
Questions for Reflection
FAQ
Why did God command Moses to write a song instead of just giving a direct command or warning?
Answer: The command to write a song was a strategic divine act, leveraging the power of oral tradition and poetic form for enduring impact. Unlike a simple command or a legal statute, a song is easily memorized, recited, and passed down through generations. Its rhythmic and melodic nature makes it deeply embeddable in the cultural memory, ensuring that its prophetic message—Israel's covenant obligations, their predicted failure, and the consequences—would "not be forgotten out of the mouths of their seed" (Deuteronomy 31:21). This made the song a perpetual "witness" or legal testimony, serving as an undeniable reminder of God's faithfulness and Israel's unfaithfulness, thereby justifying God's actions when judgment inevitably came. It was a divinely inspired pedagogical tool designed for maximum retention and spiritual accountability, demonstrating God's wisdom in communicating His truth in a way that would resonate deeply and endure through time.
CHRIST-CENTERED FULFILLMENT
Deuteronomy 31:21, with its stark portrayal of God's foreknowledge of Israel's inherent rebellion and the necessity of a perpetual witness, powerfully foreshadows the ultimate solution found in Jesus Christ. The "imagination" (yêtser) of Israel's heart, known by God even before they entered the land, points to the universal human condition of sinfulness and depravity, a truth echoed by the Apostle Paul in Romans 3:10-12. The song, serving as a witness against Israel's failure under the Old Covenant, highlights the insufficiency of law and human effort to produce lasting righteousness. This brokenness necessitates a new covenant, where God's law is written not on tablets of stone, but on the heart, as prophesied in Jeremiah 31:33. Jesus Christ is the fulfillment of this new covenant, offering a radical transformation of the "imagination" through the indwelling of the Holy Spirit, enabling believers to walk in newness of life (Romans 8:4). Furthermore, while the song was a witness to Israel's failure, Christ Himself is the ultimate and perfect "witness" to God's truth and love, the faithful and true witness who perfectly fulfilled the Law and bore the consequences of humanity's "imagination" on the cross (2 Corinthians 5:21). Through His sacrifice, He provides the means for a new heart and a renewed mind, overcoming the very "imagination" that led Israel astray, and offering true and lasting peace with God (Philippians 4:7).