David Rejoiced While Waiting for Solomon's Temple
Midrash Tehillim brings Joseph, David, Solomon, and Jerusalem together around the painful joy of longing for God's house.
Table of Contents
The cruelest words David heard may have sounded religious.
People came to his windows and asked when he would die, so his son Solomon could build the Temple and everyone could go up to God's house. They wanted pilgrimage. They wanted holiness. They also wanted the old king out of the way.
Midrash Tehillim does not soften the insult. It asks what happens when true longing for God passes through impatience with a living human being.
Joseph Was Led Like a Flock
Midrash Tehillim 80:1, from the rabbinic anthology on Psalms preserved through late antique and medieval layers, begins with another image of divine care: "Hear, Shepherd of Israel, who leads Joseph like a flock." The psalm calls God the shepherd, but it names Joseph as the one being led.
That choice matters. Joseph knew what it meant to be moved by forces larger than himself: from favored son to pit, from slave to prison, from prison to Egypt's storehouses. To be led like a flock is not always gentle in the moment. Sometimes the shepherd's path runs through humiliation before it becomes rescue.
The Midrash links this to the lily among thorns in Song of Songs. Israel must keep deeds fresh like a lily even when the surrounding world is thorned. Joseph becomes a memory of guided survival.
The Prophet Judged With a Question
The same Midrash turns to Yoel ben Pethuel and to prophetic judgment. A prophet, it says, does not judge a person by simply saying, you have sinned. He says, have you not sinned?
That question is sharper than accusation. It forces the person to hear himself. Denial becomes the real courtroom. Jeremiah's warning is that God judges those who say, "I have not sinned." The prophet does not need to shout when a question can expose the soul.
That matters for the Temple longing too. The people at David's window can say they only want God's house. But the question waits underneath: have you not sinned in the way you spoke about the king who still lives?
David Heard His Own Death in Their Joy
Midrash Tehillim 122:1 imagines David hearing the people say, "Let us go to the house of the Lord." On the surface, this is beautiful. Psalm 122 remembers joy at pilgrimage.
But Rabbi Yehoshua ben Levi gives the joy a wound. The people were saying, when will that old man die so Solomon can build the chosen Temple?
David could have heard only contempt. Instead, the Midrash gives him a nobler reading. Even though they meant to anger him, he rejoiced because their words still carried longing for God's house. He separated the poison from the desire. He refused to let their insult make him hate the holy thing they wanted.
One Day of Torah Before a Thousand Offerings
God answers David with another reversal. Better one day in Your courts than a thousand elsewhere. The Midrash takes this to mean that one day of Torah study from David is dearer to God than the thousand offerings Solomon will one day bring in the Temple.
That is not an attack on Solomon. It is a defense of David's present life. The future Temple is glorious, but it does not erase the living service happening now. A generation hungry for the next sacred project can become cruel to the person still serving before it arrives.
God tells David, in effect, your day is not worthless because your son's building is coming.
This is a hard teaching for any generation that loves future institutions more than present faithfulness. The Temple matters. Pilgrimage matters. Sacrifice matters. But the Midrash will not let the promise of tomorrow become permission to humiliate the servant standing before God today.
Jerusalem Above and Jerusalem Below
The Midrash then turns to Jerusalem as the city joined together. God says He will not enter the heavenly Jerusalem until He enters the earthly Jerusalem. The upper and lower city are bound. Holiness does not bypass the ground.
That is why David's wound matters. The Temple is not built by despising the bodies and years that stand before it. Jerusalem below must be gathered, not trampled. The city unites Israel only if longing for heaven teaches people how to treat one another on earth.
In Midrash Aggadah, Joseph, David, and Solomon become three forms of waiting. Joseph waits through exile. David waits through insult. Solomon waits to build what his father imagined. Each waits under God's shepherding, but none is allowed to turn waiting into cruelty. Holiness that cannot protect the living has already forgotten Jerusalem below.
The final image is David at the window, hearing people turn his death into a timetable for holiness. He does not bless their cruelty. He hears, beneath it, the footsteps of pilgrims. And somehow, painfully, he rejoices.