That feeling isn't new. King David knew it well, and he poured it into his psalms. to one particular moment of desperation, as illuminated by Midrash Tehillim, a collection of rabbinic interpretations on the Book of Psalms.

Imagine David, on the run, hunted. And he lays bare his soul before God. He says, essentially, that if his friend catches him, he’ll accept imprisonment. If the king pursues him, he'll accept execution. A grim bargain. But here’s the kicker: it’s only when everyone is after him, when there’s absolutely nowhere else to go, that he turns solely to God. "God, save me by Your name," he cries out. "In Your might, judge me."

It's a powerful statement about trust, but also about the hierarchy of earthly and divine power. David acknowledges the authority of his friend, of the king, but ultimately, he places his faith in something far greater.

The Midrash then takes an interesting turn, drawing a parallel to a verse from Deuteronomy (23:16): "You shall not hand over to his master a slave who seeks refuge with you." for a second. Even a slave fleeing an owner is entitled to sanctuary. The Midrash asks, if even someone who (hypothetically) worships idols is granted refuge, how much more so should a prince, the son of a prince—a descendant of royalty for five generations—be protected?

The text specifically mentions, "Salmon begot Boaz," referencing the lineage described in the Book of Ruth (4:21). This isn't just a random name-drop. It’s a reminder of David's own noble ancestry, a plea for divine consideration based on his lineage and righteousness. It’s David arguing his case, not just as a king, but as a member of a family line blessed by God.

So, David implores, "Do not hand me over to the king." He isn’t just seeking rescue; he's seeking justice. "Judge me in Your might," he begs, "in the might of Your Torah." Here, the Midrash connects God's might not just to raw power, but to the wisdom and justice embodied in the Torah.

And to further cement this idea, the Midrash quotes Proverbs (8:14): "Mine are counsel and wisdom; I am understanding; might is mine." This verse equates God's might with divine wisdom and understanding. It’s not just brute force; it’s a comprehensive, just, and knowing power.

What’s so compelling about this Midrash is how it layers meaning upon meaning. It's not just a simple prayer for help. It's a complex argument, a legal brief before the highest court, if you will. David is leveraging his lineage, appealing to divine law, and reminding God of His own attributes to plead for salvation.

It makes you wonder, doesn’t it? When we feel cornered, what resources do we draw upon? Do we remember our own lineage, our own connection to something greater? Do we appeal to justice and wisdom, or simply beg for escape? And ultimately, where do we place our trust when all earthly options are exhausted? Perhaps David’s prayer, as unpacked by the Midrash, offers a timeless roadmap for navigating our own moments of desperation.