6 min read

The Demon That Stalked David and the Psalms It Produced

Midrash Tehillim records that David's famous cry from Psalm 18 was not about human enemies. It was about the demonic forces that had surrounded him since the night Satan appeared as a bird and shattered his peace. The Psalms are his testimony from the wreckage.

Table of Contents
  1. What "Afflictions" Really Meant
  2. The Night Satan Appeared as a Bird
  3. How the Psalms Were Born From the Aftermath
  4. Samael, the Kabbalah, and the Angel Who Serves God
  5. What the Psalms Say About Survival

The Psalms do not read like poetry composed in a quiet study. They read like dispatches from a battlefield where the enemy is invisible, where the attack comes at night, where the threats have no fixed form. The rabbis were not speaking metaphorically when they said that David composed many of his greatest psalms while being hunted by forces that were not fully human.

The opening of Psalm 18, "My afflictions are the cords of death," is the starting point for one of the most sustained midrashic explorations of the demonic in all of Jewish literature. Midrash Tehillim, the ancient collection of rabbinic interpretations on the Book of Psalms (compiled between the 3rd and 9th centuries CE, drawing on much earlier traditions), takes that verse apart word by word, and what it finds inside is a theology of persecution, of survival, and of what it means to compose sacred music while the forces of death circle the room.

What "Afflictions" Really Meant

The Midrash Tehillim on Psalm 18 notes that the Hebrew word translated as "afflictions" can also be read as "my wings." Troubles fly and come upon me like a bird, the midrash says. They roll like a wheel. They surround like a circle. The imagery is not of simple human opposition but of something that envelops, that moves faster than the person it pursues, that has no front or back and therefore no vulnerabilities that a direct attack could reach.

Then comes a more specific claim: David was surrounded by demons. The midrash draws a comparison to Adam in the garden after the sin: according to the rabbis, Adam was besieged by demonic beings that had been created from his own spiritual residue, the forces released when his relationship with the divine was severed. David, as king and as composer of Israel's prayer, occupied a corresponding position in his own generation, and the forces that opposed his spiritual mission took demonic form.

The Night Satan Appeared as a Bird

The Ginzberg anthology, drawing on Talmudic sources (tractate Sanhedrin 107a), preserves the specific moment when David's life unraveled. Satan appeared to him not in a terrifying form but as a small bird. David threw a dart at it. The dart missed, broke through a screen, and revealed Bathsheba combing her hair. The consequence of that moment: the adultery, the manipulation of Uriah's death, the infant's death, the long arc of violence within his own family, Absalom's rebellion.

The Legends of the Jews, compiled by Louis Ginzberg (1909, drawing on Talmud and midrash), emphasizes that David understood immediately the spiritual dimension of what had happened. The bird was not a random creature. It was a trap, designed to exploit the specific combination of impulse and capability that David possessed: a hunter's eye, a warrior's throwing arm, and enough curiosity to follow where a thrown dart led. Satan had mapped him. The bird was custom-made for David's character.

How the Psalms Were Born From the Aftermath

David spent twenty-two years as a penitent after the Bathsheba episode. The Talmudic tradition records that he wept constantly, that the spirit of prophecy withdrew from him for a period, that his compositions during this time took on a different quality than his earlier songs. The psalms composed in this period are notable for their extremity: extreme despair, extreme hope, extreme address to God as the only possible rescuer from a situation that human action cannot resolve.

The Midrash Tehillim collection reads these psalms not as generalized spiritual poetry but as specific documents from specific crises. Psalm 18 ("I will love You, O Lord, my strength") was composed, the tradition says, at the moment when all of David's enemies converged simultaneously: Saul, Doeg, the Philistines, the internal opponents of his kingship. The convergence was not coincidental. When the demonic forces coordinating against David saw an opening, they moved together.

Samael, the Kabbalah, and the Angel Who Serves God

The kabbalistic tradition in Tikkunei Zohar (composed as part of the Zohar corpus, first compiled c. 1280 CE in Castile by Moshe de Leon) describes Samael, the angel of death, in terms that deliberately echo the physical structure of an organ: the liver and the spleen, red fire and black fire. Samael is not an independent evil but a component of the divine structure that, when properly aligned, serves its purpose and, when misaligned, produces the demonic experience that David described as cords of death.

This is the crucial distinction between Jewish and non-Jewish demonology. In the Jewish framework, Samael is not a rebel against God. He is an angel who serves God, specifically as the force of strict judgment, the entity who prosecutes human beings in the heavenly court and who enforces the consequences of sin. When David experienced the cords of death encircling him, he was experiencing the active application of divine justice to his specific transgressions. The demons were not attacking him randomly. They were the juridical consequences of what he had done.

What the Psalms Say About Survival

Psalm 18 ends not with defeat but with victory: "The Lord lives, and blessed is my Rock" (Psalm 18:47). The man who opened the psalm with demons and death closes it with the declaration that God is alive and responsive. What happens in between is not a happy resolution but a sustained testimony: I called, I was heard, I was drawn out of many waters, I was set on a broad place. Not safety. Not immunity. Just rescued again, again, and again, from the specific trap that was set for the specific character who threw a dart at a bird one afternoon and changed the rest of his life.

The rabbinic tradition reads the Psalms as a manual for survival under spiritual attack, which is why they have been prayed in every period of Jewish history, by individuals facing demonic forces of every kind, literal and metaphorical. David composed them as testimony. The tradition preserved them as equipment. The man who made himself a target by his own mistakes, who was stalked by forces he had helped create, who prayed his way back to the divine presence from the furthest reaches of self-inflicted exile, left behind a library of prayers for everyone who would ever need to make the same journey.

← All myths