Why King Hezekiah Kept the Lights On All Night
Midrash Tehillim on Psalm 91 records a debate among the sages about what truly lurks in darkness, and how the Torah itself became the answer to every demon that walks at noon or moves by night.
Table of Contents
Psalm 91 opens with a promise so sweeping that every generation since has pressed the rabbis to explain it. You shall not fear the terror of the night, nor the arrow that flies by day, nor the pestilence that walks in darkness, nor the destruction that lays waste at noon. Four dangers, four times of day, four kinds of threat. And what, the sages asked, is the pestilence that walks in darkness?
This is where the rabbis disagreed, and their disagreement reveals something important about how ancient Jewish thought navigated the line between physical danger and spiritual threat.
What Walks in the Dark
Midrash Tehillim, the collection of rabbinic interpretations on the Book of Psalms assembled across several centuries of the late antique period in Palestine, preserves a debate that takes this question seriously. Rabbi Yehuda bar Rabbi Yossi offers the straightforward reading: the danger in darkness is a robber. The night is when thieves operate. The promise of Psalm 91 is that one who dwells in the shelter of the Most High will be protected from human predators as well as supernatural ones.
But Rabbi Huna, citing another authority, pushes further. The creature that walks in darkness is a demon. Not a metaphor for human malice but an actual spiritual entity, one of the beings that the 3,205 texts of the midrash-aggadah tradition describe as active presences in the world, inhabiting desolate places, threatening travelers, testing the righteous. The pestilence that walks in darkness is a thing with intention, seeking entry into human lives.
The disagreement between the two rabbis is not resolved. The Midrash preserves both. This is itself a teaching: the dangers of the night are multiple, and the protection promised by Psalm 91 covers all of them.
How Hezekiah Taught the Torah as a Shield
The Midrash connects this protection to King Hezekiah, the eighth-century BCE monarch of Judah whose reign the books of Kings and Isaiah treat as a pivot point in Israelite history. Hezekiah, uniquely among the kings of Judah after David, is described in the Talmud as someone who considered forcing the entire people to study Torah. He did not, in the end, but the impulse reflects something the later rabbinic tradition emphasizes: Hezekiah understood the Torah as a protective force.
Hezekiah rebuilt the schools his father Ahaz had destroyed, reopening the houses of study that had been closed during the catastrophic religious corruption of Ahaz's reign. This is not administrative history in the Midrash's reading; it is a spiritual campaign. Every school reopened is a place where Torah is studied, and every place where Torah is studied is, according to the sages, a place where demons cannot enter.
The connection is explicit in several midrashic sources. The words of Torah, spoken aloud in study, create a kind of acoustic shield. The demon that walks in darkness cannot enter a house filled with Torah. Moses entered the cloud on Sinai protected by Psalm 91, the Midrash elsewhere teaches; what protected Moses in the cloud of divine fire protects any person who carries the words of that psalm as a daily practice.
Why the Danger at Noon Is Harder Than the Danger at Night
The four-part structure of Psalm 91's danger list is not arbitrary. The Midrash notices that the verse moves from night to day, from darkness to noon, and that the creature at noon is described as laying waste, a more active verb than the walking of the creature in darkness. Rabbi Levi, a third-century Amora whose name appears frequently in Midrash Tehillim, reads the destruction at noon as a reference to a specific kind of spiritual danger: the midday demon, the one that strikes when vigilance has relaxed.
You guard yourself at night. You lock the doors, you do not walk alone in dark alleys. But at noon, in full sunlight, surrounded by people, you feel safe. This is precisely when the noon demon strikes. The demonesses of Jewish tradition are not limited to dark hours; the most insidious threats come when the protective alertness of the night has worn off and the confidence of midday has set in.
Hezekiah's campaign of Torah study was not just a nighttime defense. He kept the schools open all day. The study of Torah was the Psalm's answer to all four dangers: night terror, flying arrow, walking pestilence, and noontime destruction. The shield it provides does not depend on the hour.
What the Rabbis Actually Feared
The Legends of the Jews, Louis Ginzberg's synthesis of rabbinic literature compiled between 1909 and 1938, connects Hezekiah's Torah campaign to the broader crisis of his reign: the Assyrian siege of Jerusalem, the threat from Sennacherib's army, the miraculous deliverance recounted in (Isaiah 37). The angel who strikes down 185,000 Assyrian soldiers in a single night is, in the rabbinic reading, responding not only to Hezekiah's prayer but to the merit accumulated by a people who had been studying Torah. The study created a protective field that the army alone could not have sustained.
The demon of the Psalm and the Assyrian army of the historical text are, in this reading, versions of the same threat operating on different planes. The Torah that defends against the night demon is the same Torah that defends against the armies of the nations. Hezekiah understood this, which is why his first act of reform was not political or military but educational.
The Psalm as a Daily Practice
Psalm 91 was used in ancient Jewish practice as an apotropaic text, a text recited specifically to ward off harmful forces. The Dead Sea Scrolls contain hymns that echo its structure. The kabbalistic tradition, particularly in the works of the Safed masters of the sixteenth century, assigned Psalm 91 a specific role in the bedtime Shema, the prayer recited before sleep, precisely because of its protection against the night's dangers. The words spoken at the threshold of sleep become the shield that the sleeping person cannot consciously maintain.
Hezekiah's lesson, preserved in Midrash Tehillim, is that the protection of Psalm 91 is not passive. It requires the active engagement of study, the daily renewal of the relationship between the individual and the text. The person who dwells in the shelter of the Most High, the Psalm's opening phrase, is not someone who stumbled into a safe location. Dwelling is a continuous act. You dwell there by returning, by studying, by speaking the words aloud in the morning and in the evening and in the middle of the day when the noon demon is at its most confident. Hezekiah kept the schools open because the shelter of the Most High requires constant habitation.