7 min read

What David Gave Solomon Before He Died

On his deathbed, David passed three secrets to Solomon: how to resist temptation, how to confess, and how to begin every prayer with praise.

Table of Contents
  1. Why David Waited Until the Last Moment
  2. How David Taught Solomon to Resist Sinners
  3. What to Do When You Have Already Failed
  4. How to Pray Like a King Who Knows His Place
  5. What These Three Teachings Add Up To

The rabbis notice something that most readers miss. When you read the end of King David's life, you expect a battlefield general's last dispatch. A king's final decree. A statesman's comprehensive handoff. But according to the ancient sources, what David gave Solomon was something far more intimate than policy. He gave him three teachings about the interior life — about temptation, about sin, and about how to speak to God.

The Mekhilta (1,517 texts) would say: the words spoken at the end of a life carry special weight, because they are stripped of everything except what the speaker most needs the next generation to know. David waited until his deathbed to charge Solomon — not because he forgot, not because he was too busy, but because some truths can only be transmitted when there is nothing left to hide behind.

Why David Waited Until the Last Moment

The Sifrei Devarim, compiled around 200 CE as a tannaitic legal commentary on Deuteronomy, draws a pointed parallel: just as Moses spoke his final words to Israel only in the last days of his life, so David charged Solomon "only close to his death" — as it is written, "And the days of David drew near to die" (I Kings 2:1).

This is not an accident of biography. The Sifrei sees a deliberate pattern: the greatest leaders do not give their most essential teachings early, dispersed across the years, where they can be absorbed casually and forgotten. They hold them back. They let the urgency of the final hour do its work. When a dying man speaks, you listen differently. You carry what he says into every room you enter for the rest of your life.

And what David chose to transmit in those final hours was not military strategy, not a list of enemies to punish, not even the detailed plans for the Temple he had longed to build. He transmitted three things: how to protect the soul from the seductions that had nearly destroyed his own life, how to handle it when you fail anyway, and how to stand before God and ask for anything at all.

How David Taught Solomon to Resist Sinners

The Midrash Mishlei — a collection of rabbinic interpretations on the Book of Proverbs, dated by scholars to somewhere between the 7th and 11th centuries CE — asks a question that sounds simple but cuts deep: from whom did Solomon, the wisest man who ever lived, learn to warn his own son against temptation?

The answer is David. The warning in (Proverbs 1:10) — "My son, if sinners entice you, do not consent" — comes from a father who had known both the sting of failure and the long work of return. As (Proverbs 13:21) puts it, "Sinners are pursued by evil." David understood this from the inside. Evil does not just wait; it follows. It finds you.

The Midrash Mishlei makes the stakes explicit. Resisting a single act of temptation — walking away from the voice that says "So-and-so is rich; let's go and kill him and take his money" — is equivalent, in a certain mystical accounting, to fulfilling every commandment in the Torah. And whoever saves a single soul from Israel is as if he saved an entire world. The arithmetic of the soul is not linear. One right choice, made at the moment of maximum pull in the wrong direction, ramifies outward in ways no one can calculate.

David knew this. He had stood at that threshold and stumbled. That is what made him the right teacher. Not his perfection — his experience.

What to Do When You Have Already Failed

The Midrash Tehillim on Psalm 32, composed between the 9th and 13th centuries CE from earlier tannaitic and amoraic traditions, records a remarkable debate among the rabbis about confession. When does one confess? How often? What does it mean to keep "my sin always before me" (Psalm 51:5)?

Rabbi Eliezer ben Yaakov worried that repeated public confession of the same sin was spiritually counterproductive — like, as he put it with characteristic rabbinic bluntness, "a dog that returns to its vomit" (Proverbs 26:11). The Sages disagreed: the ongoing inner awareness of one's sin is itself a form of accountability, a hedge against complacency. Rabbi Pinchas added a third layer: do not boast about having no sins this year. Humility is not the same as denial.

What unites all these positions is a single conviction: God's forgiveness is real. "I, even I, am He who blots out your transgressions for My own sake; and I will not remember your sins" (Isaiah 43:25). The power of confession is not that it extracts mercy from a reluctant God. It is that it opens the human heart to a mercy that is already there, already waiting — like a mother who could no more forget her nursing child than God could forget Israel (Isaiah 49:15).

David knew what it meant to need that forgiveness. Psalm 32 — "Blessed is he whose transgressions are forgiven, whose sins are covered" — is his psalm. He wrote it from the inside of what it feels like to be unburdened. He passed that knowledge to Solomon not as theology but as practical instruction: when you fall, here is the path back.

How to Pray Like a King Who Knows His Place

The third teaching is the most surprising. According to Sifrei Devarim 343:2, the tannaitic midrash compiled around 200 CE, both David and Solomon followed a specific structure in their prayers: praise first, petition second, and praise again at the end.

David does not open with Israel's needs. He opens with "Hallelukah! Sing to the Lord a new song!" (Psalm 149:1). Only then does he say "For the Lord desires His people" (Psalm 149:4). And then, at the close, the praise returns: "The exaltations of the Almighty are in their throats" (Psalm 149:6).

Solomon does the same. Before he even mentions the possibility of famine or hardship, he proclaims: "There is none like You, O God, in the heavens or in the earth, preserving the covenant and the lovingkindness for Your servants, who walk before You with all their heart" (II Chronicles 6:14). Only then does he turn to the people's needs. And then, praise again: "Rise, O Lord, to Your resting place" (II Chronicles 6:41).

The structure is not protocol. It is theology. You cannot petition a God you have not first acknowledged. To go straight to the list of requests is to treat God as a mechanism for producing desired outcomes. To begin with praise is to orient yourself correctly — to remember who is speaking, to whom, about what. David transmitted this orientation to Solomon as one of the most practical pieces of wisdom he possessed.

What These Three Teachings Add Up To

Taken together, what David passed to Solomon on his deathbed was a complete inner curriculum. First: how to keep the yetzer hara — the evil inclination — from getting its foot in the door. Second: how to find your way back to God when the door has already been forced open. Third: how to stand in God's presence and ask for what your people need, in the right order, with the right heart.

The Midrash Aggadah (4,331 texts) that preserves these teachings understands David not primarily as a warrior or a politician but as a man who had navigated the full spectrum of the human spiritual situation — temptation, failure, confession, forgiveness, prayer — and had survived it all with his faith intact. That survival, that embodied knowledge, was the most valuable thing he had to give.

The Legends of the Jews (2,672 texts) shows us a Solomon who inherited more than a throne. He inherited a way of being in the world: wary of seduction, humble before God, honest about failure, and always, always beginning with praise. It was not the advice you would expect from a dying king. But it was the advice that mattered most.

← All myths