Solomon Built the Temple and Nearly Lost God the Same Night
Solomon finished the Temple, then celebrated his marriage to Pharaoh's daughter the same night. Vayikra Rabbah says God nearly destroyed Jerusalem over it.
Solomon was the man who built God a house. Seven years of construction. The cedars from Lebanon, the stone from quarries that never heard an iron tool on site, the gold, the curtains, the altar, the ark carried into the innermost room where no light reached except the glory of God. By any account, the completion of the Temple was the highest achievement of Israel's history. And then, on the night it was finished, Solomon made a choice that almost undid everything.
He married Pharaoh's daughter. And he celebrated both the Temple and the wedding on the same night.
Vayikra Rabbah, the homiletical commentary on Leviticus compiled in fifth-century Palestine, preserves the account from the mouth of Rabbi Yudan. That night there were two dances, two celebrations, two drums, two sets of rejoicing moving through the city at the same time. One for the House of God. One for the daughter of Egypt. The Holy One, blessed be He, looked down at Jerusalem and, in Rabbi Yudan's words, was on the verge of destroying it. "Which one of these am I supposed to celebrate?" The question in the Midrash is almost bewildered. God had just received a Temple, and at the very moment of receiving it, the man who built it had placed it in competition with something else.
The verse from Jeremiah (32:31) that Vayikra Rabbah brings is damning: "For this city has been a cause of My wrath from the day it was built until this day." The rabbis read this as God's own admission that from the moment Solomon mixed the sacred with the political, from the very first night, the Temple had a flaw in it. Not a structural flaw. A spiritual one. The building was perfect. The intention behind it, on that night, was divided.
There is another tradition, preserved in Kohelet Rabbah, the midrash on Ecclesiastes, which is Solomon's own book, that puts this in a longer frame. Rabbi Abbahu taught in Kohelet Rabbah 11 that God created and destroyed worlds before arriving at this one. "These please Me and those did not please Me," God said with each discarded world. The world we inhabit was not inevitable. It was chosen. The implication, when read alongside the Vayikra Rabbah account of Solomon's wedding night, is vertiginous: God had made a world that could be de-chosen, and Solomon's divided heart on that night came closer to triggering that possibility than most people realize.
Kohelet Rabbah 2 opens with Solomon's own verse from Ecclesiastes: "Of laughter, I said it is confounded; and of joy, what does it accomplish?" (Ecclesiastes 2:2). Rabbi Abba bar Kahana reads "laughter" here as the laughter of distraction, the joy of theater, of spectacle, of celebration without center. Solomon is not condemning happiness. He is condemning the happiness that does not know what it is celebrating. On his wedding night, that is exactly the kind of joy he had arranged. The Temple was complete. The celebration was real. But something at the core of it was hollow, because the thing he was most proud of was sharing the night with something that competed with it.
The redemptive reading, held quietly in these same texts, is that Solomon was the one who wrote Ecclesiastes. He saw what he had done. He built the Temple. He made the mistake. He wrote the book that exposes both. The Preacher who says all is vanity was the same man who poured his life into the one thing the rabbis said was not vanity, the House of God. That contradiction was not incidental to who he was. It was the whole point of why his wisdom mattered and why his failures matter too.
The Temple stood for nearly four hundred years after that night. But according to these traditions, the flaw was there from the beginning, not in the stone and cedar, but in the dance that shared the city with the dedication of the House. God, who had destroyed worlds before finding one that pleased Him, looked at Jerusalem that night and had to choose whether this one was still worth keeping. Apparently, it was. Barely.
The tradition places Solomon in a difficult category that Jewish thought rarely visits: the righteous man whose greatest achievement was also his greatest liability. He built God a house. He was the only king who did. And on the night he finished it, he made a choice that the Midrash says put Jerusalem itself in jeopardy. The story does not end in destruction. The Temple stood. But the memory of that night, the two dances in the city, the question that hung over which celebration God was supposed to attend, that memory was preserved in the tradition precisely because it was not resolved. The righteous sometimes divide what should not be divided. And the consequences do not always arrive immediately.