Parshat Devarim6 min read

David Wanted to Build the Temple and God Said No

David lived in a cedar house while the Ark sat under a tent. The prophet Nathan told him to go ahead, then came back the next day to stop him.

Curated by Arthur · Told by Maggid ·
Table of Contents
  1. The Shepherd Who Sorted the Grass
  2. The Trees That Swayed Without Wind
  3. The Breach of Uzzah and the Dance in Jerusalem
  4. Nathan Returns With a Different Answer
  5. Israel Quotes the Grove Back to God
David Wanted to Build the Temple and God Said No Click for full size

The Shepherd Who Sorted the Grass

Before he wore a crown, David tended his father's flocks in the fields, singing Psalm 22 as the animals grazed. Rather than turning the whole herd onto one patch of pasture, he led out the young goats first to eat the soft tips of the grass. Next he brought the lambs to the middle blades, and last he gave the older, stronger sheep the coarse bottom growth.

No crowd stood in the pasture to watch him, because he was only the youngest son doing the humblest work in the house. From heaven, God saw how he matched each portion to the strength of every animal and declared, "Since he knows how to tend My sheep, he will tend these sheep of Israel" (Jeremiah 3:15).

The Trees That Swayed Without Wind

As king, David never marched to war without consulting God first. When the Philistines seized the Valley of the Giants outside Jerusalem, he had the high priest inquire of heaven, received assurance of victory, circled behind their camp, and routed them in one charge.

The Philistines returned with triple the army and camped on the same ground. This time God told David to wait in the Groves of Weeping near the enemy lines and stay motionless until the trees began swaying with no wind blowing. An entire army stood silent under the branches, watching still leaves in dead air. When the treetops stirred without a breeze, David charged. The Philistine ranks broke at the first shock, and he chased them all the way to Gaza, took a great weight of gold from their camp, and destroyed their idols where they stood.

The Breach of Uzzah and the Dance in Jerusalem

Next David went for the Ark of the Covenant, which had sat neglected since Saul's reign in the house of Aminadab at Kirjath-jearim. Priests, Levites, and the whole nation brought it out on a new cart drawn by oxen, with hymns, trumpets, cymbals, and David walking ahead playing his harp.

At the threshing floor of Chidon, the oxen jolted the cart. Uzzah reached out to steady the Ark and dropped dead on the spot, because he was not a priest and unauthorized hands could not touch it. That place became known as the Breach of Uzzah. Terrified, David halted the march and left the Ark at the house of a Levite named Obededom. Over the next three months, Obededom, once poor and of low standing, grew so prosperous that his good fortune spread across the land.

Hearing how the Ark had blessed Obededom, David regained his courage and brought it into Jerusalem properly, carried by priests behind seven companies of singers. David played the harp and danced openly in the street. His wife Michal, Saul's daughter, watched from a window, laughed in scorn, and later rebuked him for uncovering himself in front of the servant girls. "I am not ashamed to do what is acceptable to God," David told her, "who chose me over your father and over everyone else. I will play and dance again, no matter what you think." After that day, Michal had no children.

Nathan Returns With a Different Answer

David lived in a high house of cedar while the Ark rested under a tent. Troubled by that contrast, he spoke to the prophet Nathan about building a house for God. Nathan told him to do whatever was in his mind, because God was with him, so David went to bed intending to build.

That same night God came to Nathan and sent him back in the morning with the opposite verdict. Heaven received David's wish kindly, since no ruler before him had thought of building a sanctuary, but David would not build it because he had fought many wars and was stained with the slaughter of enemies. Instead, after David's long life ended, his son Solomon would build the Beit HaMikdash (בית המקדש), the Holy Temple. David bowed his face to the ground before the Ark and thanked God for raising him from the sheepfolds.

That promised son also carried the name Jedidiah, beloved of the Lord (2 Samuel 12:25), and that love clung to everything around the sanctuary (Psalm 84:1). God fashioned a lyre for the Temple, and every person who helped build or sustain it had their name cut into the wood. Even the tribe of Benjamin, whose ground held Jerusalem, stood inside that circle as the beloved who dwells safely between His shoulders (Deuteronomy 33:12).

Israel Quotes the Grove Back to God

Centuries later, when enemies closed in, the Assembly of Israel, Knesset Israel (כנסת ישראל), brought David's old victories back before God. "You fought our battles for us," they cried, and pointed to the day the trees moved in the grove: "For then the Lord went out before you" (2 Samuel 5:24). They reminded Him of His promise to fight the nations (Zechariah 14:3) and lamented that He no longer marched with their armies. "How long, O Lord? Will You forget me forever?"

God answered them with a question. "Have I forgotten you? You have forgotten Me," He replied (Psalm 106:21). "Have I hidden My face from you? You have hidden your face from Me." They had turned away from the Sanctuary and given Him their backs instead of their faces (2 Chronicles 29:6, Jeremiah 32:33). In this world He had hidden His face, He told them, until the future promise came true: "For they shall see eye to eye when the Lord returns to Zion" (Isaiah 52:8).


← All myths

From the tradition

Sources

4 sources

The texts behind this telling. Some cards carry a translation of the source; others are our own retelling of it, and each card says which. Every card links out to the original.

Antiquities VII.4-5Antiquities of the Jews (Josephus)

Retold in our words. Read the original at the link below.Antiquities of the Jews, trans. William Whiston · Public Domain

David never went to war without consulting God first. According to Josephus in Antiquities of the Jews, this was the defining principle of his military career. And when the Philistines came to destroy him at Jerusalem, it was prophecy, not strategy, that won the day.

The Philistines had seized the Valley of the Giants just outside the city. David asked the high priest to inquire of God, received assurance of victory, then attacked from behind and routed them completely. They came back with triple the forces. This time, God gave stranger instructions: wait in the Groves of Weeping near the enemy camp and do not move until the trees begin swaying on their own, without wind. When the trees moved, David struck. The Philistines broke ranks immediately and fled all the way to Gaza.

With his enemies scattered, David turned to something that had been neglected since Saul's reign: the Ark of the Covenant. It had sat in the house of Aminadab at Kirjathjearim, essentially forgotten. David assembled priests, Levites, and the entire nation to bring it to Jerusalem in a massive procession, singers, dancers, trumpets, cymbals, and the king himself playing the harp.

Then disaster struck. At the threshing floor of Chidon, the oxen pulling the cart jolted the Ark. A man named Uzzah reached out to steady it. He died instantly. Josephus explains the reason plainly: Uzzah was not a priest, and the Ark could not be touched by unauthorized hands. God struck him down, and the place was called "the Breach of Uzzah" ever after.

David was terrified. He diverted the Ark to the house of a Levite named Obededom, where it stayed for three months. During that time, Obededom, previously a poor man of low standing, became extraordinarily prosperous. When David heard how the Ark had transformed this man's fortunes, he gathered courage and brought it into Jerusalem at last, this time with priests carrying it properly and seven companies of singers leading the way.

His wife Michal, Saul's daughter, watched from a window as the king danced wildly before the Ark. She laughed at him. David's response was sharp: he was dancing for God, who had chosen him over her father, and he would do it again whenever he pleased. Josephus records that Michal bore no children after this confrontation.

Settled in Jerusalem, David looked at his own palace of cedar and felt convicted. The Ark sat in a tent. He told the prophet Nathan he wanted to build God a proper temple. Nathan initially encouraged him, but that night God appeared to Nathan with a different plan: David had shed too much blood in war to build the house of God. That honor would belong to his son, Solomon. David accepted the verdict with joy, not for what he was denied, but for the promise that his dynasty would endure.

Full source
Midrash Tehillim 13:3Midrash Tehillim

Retold in our words. Read the original at the link below.Rabbi Mike Feuer, Jerusalem Anthology · CC-BY

The ancient rabbis felt that way too. And they wrestled with that feeling in their interpretations of the Psalms, particularly in Midrash Tehillim, a collection of homiletic interpretations of the Book of Psalms.

Psalm 13 begins with a raw, almost desperate cry: "How long, O Lord? Will you forget me forever?" It's a question that echoes through generations, a question we've all probably whispered at some point. But Midrash Tehillim doesn't just leave us hanging in that despair. It digs deeper.

Rabbi Chanina, in this midrash (rabbinic interpretive commentary), imagines the people of Israel, the Knesset Israel, turning to God with a complaint. "You fought our battles!" they say. "As it is said, 'For then the Lord went out before you' (2 Samuel 5:24). And we expected you would always do so, as it's written, 'And the Lord will go out and fight against those nations' (Zechariah 14:3)." But now? Now, they lament, it seems that "God will not go forth with our armies" (Psalms 60:12). How long, O Lord, will this be?

Then comes the twist. God's response isn't what they expect. "Have I forgotten you?" God asks. "No," comes the reply, in essence. "You have forgotten me!"

Ouch.

It's a tough love kind of moment. The Midrash doesn't shy away from it. It quotes (Psalm 106:21): "They forgot their savior God." And it continues, "Have I hidden my face from you? You have hidden your face from me!" The proof texts come thick and fast: "And they turned their faces away from the Sanctuary of the Lord" (2 Chronicles 29:6) and "And they turned their backs, not their faces, to me" (Jeremiah 32:33).

Turning your back on something sacred. Turning away from the source of your strength and comfort. We can all relate to that, can't we? Times when we felt disconnected, distant. Times when, perhaps, we ourselves were the ones who turned away.

But the Midrash doesn't end there. It offers a glimmer of hope. God acknowledges the present reality: "In this world I have hidden my face from you." But then comes the promise: "But in the future… 'For they shall see eye to eye when the Lord returns to Zion' (Isaiah 52:8)."

That phrase, "eye to eye," is so evocative. It suggests a moment of perfect clarity, of complete understanding, of restored connection. It's a future where the perceived distance between us and the Divine dissolves.

So, what does this all mean for us today? Perhaps it's a reminder that our relationship with the Divine isn't a one-way street. It requires our attention, our intention, our willingness to face the sacred. And perhaps, in those moments when we feel forgotten, it's worth asking ourselves: who turned away first? But also, it's a reminder that even when we feel distant, the possibility of reconnection, of seeing "eye to eye," always remains.

Full source
Midrash Tehillim 84:2Midrash Tehillim

Retold in our words. Read the original at the link below.Rabbi Mike Feuer, Jerusalem Anthology · CC-BY

The ancient sages certainly did. And they explored that feeling deeply in their interpretations of scripture, the midrash (rabbinic interpretive commentary). to one such exploration from Midrash Tehillim, a collection of homilies on the Book of Psalms.

The passage focuses on the verse, "How beloved are your dwelling places, O Lord of hosts!" (Psalm 84:1). But what is it about those dwelling places that makes them so beloved?

The Midrash Tehillim offers a fascinating answer: it's about connection, contribution, and lasting legacy. It suggests that God, in his infinite wisdom, fashioned a lyre specifically for the Beit HaMikdash, the Temple in Jerusalem. The idea is that anyone who contributed to the Temple's construction or upkeep would have their name inscribed upon this lyre.

The midrash then quotes (Isaiah 66:6), "A voice of uproar from the city, a voice from the Temple!" The sages interpret this as referring to the good deeds performed both within the city and within the Temple itself. Every act of kindness, every offering, every prayer… all contributed to the sacredness of the space and the connection between God and humanity.

That our actions, our contributions, literally resonate within the very fabric of the holy place.

But the love doesn't stop there. According to the midrash, not only is the Temple itself "beloved," but so are those who built it. The text points to (2 Samuel 12:25), which tells us, "And they called his name Jedidiah (beloved of the Lord)." Jedidiah, means "beloved of the Lord" in Hebrew. It's a name that embodies the special connection between the builders and the divine.

And it goes even further! Even those who dwelled near the Temple, within its territory, were considered "beloved." (Deuteronomy 33:12) says, "Of Benjamin he said, 'The beloved of the Lord shall dwell in safety by Him; he covers him all the day long, and he dwells between his shoulders.'" The tribe of Benjamin, whose territory included Jerusalem, was thus embraced in this circle of divine love.

The midrash concludes by referencing (Psalm 60:7), where David says, "That your beloved may be delivered." So the Temple, its builders, and its inhabitants are all enveloped in God's love and protection.

What does this all mean for us? Perhaps it's a reminder that our actions, no matter how small they may seem, can contribute to something greater than ourselves. That our connection to sacred spaces, whether physical or spiritual, is nurtured through our involvement and our devotion. And that, in turn, we too can become "beloved," part of that enduring legacy of faith and good deeds.

What kind of lyre are we building with our lives? And what name will be inscribed upon it?

Full source
Midrash Tehillim 78:18Midrash Tehillim

Retold in our words. Read the original at the link below.Rabbi Mike Feuer, Jerusalem Anthology · CC-BY

The story of David, the shepherd who became the king of Israel, is far more complex and inspiring than any simple rags-to-riches story.

The Book of Psalms, traditionally attributed to David himself, resonates with so many because it speaks to the heart of the human experience. And according to Midrash Tehillim, a collection of rabbinic interpretations on the Psalms, David's journey from tending flocks to leading a nation was no accident. It was all part of a Divine plan.

"And he built his sanctuary like high palaces." That's a verse from Psalm 78. Midrash Tehillim connects this verse directly to David's humble beginnings. when David was just a shepherd, minding his father's sheep, he sang Psalm 22.

What exactly does it mean that God "chose David his servant and took him from the sheepfolds," as the verse says? What's the significance of these "sheepfolds?" Rabbi Yehoshua HaKohen (a priest) offers a beautiful interpretation. He explains that David's shepherding wasn't just about keeping the sheep safe; it was about understanding their individual needs.

He would take the young goats and feed them the tender tips of the grass – the easiest to digest. The lambs got the middle part of the grass, and the older, stronger sheep were given the heartiest part. David understood that each creature had different requirements, and he tailored his care accordingly. This wasn't just random feeding. This was compassion in action. This was leadership in miniature.

And that's where the Divine enters the picture. God saw this, this innate understanding and compassionate nature in David, and declared, "Since he knows how to tend my sheep, he will tend these sheep of Israel." It's a powerful moment, echoing the prophecy in (Jeremiah 3:15): "And I will give you shepherds after My own heart, who will feed you with knowledge and understanding."

God recognized in David a leader who would care for his people not with brute force or blind authority, but with empathy and wisdom. David's ability to discern the needs of his flock foreshadowed his ability to lead and nurture the nation of Israel.

What seemingly small acts of kindness and understanding might be shaping our own destinies? What hidden qualities are being observed, preparing us for roles we can't even imagine yet? Perhaps, like David, our journey to greatness begins not in palaces or positions of power, but in the quiet, everyday acts of compassion and care.

Full source