6 min read

Why David Played His Harp at Midnight

A harp hung above David's bed. When the north wind blew through it at midnight, the strings played by themselves, and David rose to write psalms until dawn. The rabbis found in this image a whole theology of how divine inspiration works.

Table of Contents
  1. Why Midnight Specifically?
  2. The Harp That Played Itself
  3. David and the Question of Theodicy
  4. What Happens Between Midnight and Dawn
  5. The Psalms as Record of the Night

There was a harp above David's bed. Not a metaphor, not a symbol, but an actual instrument hung at a specific angle so that the north wind, coming in through a window or a gap in the wall, would find the strings at the stroke of midnight and play them. David would wake to music that no human hand had made, rise from sleep, and begin composing psalms until dawn came. This image, preserved in Pesikta DeRav Kahana, a collection of homiletical discourses from the land of Israel in approximately the fifth century CE, is one of the most evocative accounts of divine inspiration in all of rabbinic literature.

Why Midnight Specifically?

Pesikta DeRav Kahana opens its discussion of midnight with the verse from Exodus 12:29: "And it came to pass at midnight." That was the moment of the final plague, the death of the firstborn, the event that finally cracked Pharaoh's resistance. The text is insisting, from its first line, that midnight is not ordinary time. It is the hinge moment, the point where one reality gives way to another. The Exodus happened at midnight. The Psalmist rises at midnight. The correspondence is not accidental.

Rabbi Tanchum of Jaffa, quoting Rabbi Nunia of Caesarea, whose teaching is preserved in Pesikta DeRav Kahana 7:1, observes that David's midnight rising was connected to his meditation on what it meant to understand divine justice in a world where the wicked often prosper. Psalm 73:16, "and when I pondered how I might know this, it was wearisome in mine eyes," is read as David's description of the spiritual struggle that preceded his midnight practice. He could not understand during the day. He could not solve the problem in ordinary waking consciousness. He had to go down into the night to find the place where the question dissolved and became, instead, a song.

The Harp That Played Itself

The image of the self-playing harp is theologically precise. David does not set an alarm. He does not wake himself through willpower or discipline. The wind wakes him. More specifically, the divine arrangement of wind and strings and timing wakes him. The north wind in biblical tradition is often associated with divine stirring, the breath that moves over the waters in Genesis 1:2, the spirit that revives the dry bones in Ezekiel 37. When the north wind finds David's harp strings at midnight, something of that same divine breath is at work.

The Midrash Aggadah tradition, encompassing over 3,205 texts across centuries of rabbinic scholarship, preserves multiple versions of this image. In some versions the harp plays softly, in others loudly enough to wake not just David but the whole household. What all versions share is the insistence that David's inspiration was not self-generated. He was the instrument as much as the harp was the instrument. The psalms came through him, not from him.

David and the Question of Theodicy

The connection between David's midnight practice and the problem of theodicy, the justice of God in a world of suffering, is central to what Pesikta DeRav Kahana wants to teach. David saw the wicked prosper. He saw righteous people suffer. This is the oldest and most persistent challenge to the religious life, and David, as both a king and a poet, could not avoid it. He watched men who had done terrible things live comfortably to old age. He watched people who had served God faithfully die young.

The Legends of the Jews, compiled by Louis Ginzberg between 1909 and 1938 in Philadelphia, records traditions about David's own experience of apparent divine abandonment, the period of Absalom's rebellion when he fled Jerusalem in disgrace, the years of hiding from Saul. David's psalms of complaint and bewilderment, Psalms 22 and 73 and 88, are the record of someone who had been inside the problem, not merely theorizing about it. The midnight practice was not an escape from the problem. It was a way of sitting with the problem in the one time of day when ordinary defenses are down and something else can be heard.

What Happens Between Midnight and Dawn

The Pesikta DeRav Kahana's account of David's practice specifies that he wrote psalms from midnight until the day began to brighten. This is not a short window. In the ancient world, without artificial light, midnight to dawn was a long stretch of darkness, and David filled it with composition. The Kabbalistic tradition would later develop elaborate practices around the midnight prayer, the Tikkun Chatzot, the midnight repair, in which the mystic rises to mourn the exile of the divine presence and to work, through prayer and Torah study, toward its restoration. The Lurianic school of 16th-century Safed in the land of Israel formalized this practice, but its roots go back directly to the image in Pesikta DeRav Kahana of David at his harp, in the dark, writing.

The Kabbalists read David's midnight practice as a kind of cosmic maintenance, a human action that participated in the ongoing work of keeping the world from collapsing back into chaos. That may be a more elaborate framework than the Pesikta itself deploys. But the underlying intuition is the same: midnight prayer is not merely personal piety. It is a response to something the universe needs.

The Psalms as Record of the Night

What emerged from David's midnight sessions, the rabbis teach, was not private journal entries but a public document. The 150 psalms are the accumulated record of those night hours, the distillations of everything David worked through in the dark before the world woke up. When the community reads Psalms in synagogue, it is, in a sense, receiving the fruit of those midnights, the processed spiritual labor of someone who had gone into the problem and come out the other side with words.

David's prayer for deliverance belongs to this same tradition, and reading it alongside the midnight teaching changes its character. The desperation in those verses is not theatrical. It is the real desperation of someone who has been awake in the dark with no resolution, who has held the problem until the harp started playing and the words finally came. The psalms are midnight documents. That is their particular authority, and the rabbis of the Pesikta DeRav Kahana preserve the midnight image precisely so we will never read them as anything less.

← All myths