This particular midrash explores a moment in David's life, a moment of intense vulnerability.
Picture this: David, the future king of Israel, is on the run from Saul, who's hunting him relentlessly. He finds himself hiding in a cave, a dark, damp, and isolating place. It's in this cave that David utters the words of Psalm 142, a desperate plea for help.
But the Midrash Tehillim isn't just interested in the words themselves. It asks, what was David’s state of mind? What did he understand in that moment? The midrash points us to Proverbs 18:10: "The name of the Lord is a strong tower; the righteous run to it and are safe." It suggests that in times of distress, the righteous turn solely to God. As Psalm 34:2 says, "I will bless the Lord at all times; His praise shall continually be in my mouth."
Think about it: When David fled from his own son, Absalom, he sang to God. When he was lost in the wilderness, he spoke only of God. In every trial, he placed his trust in God. And here, in the claustrophobic darkness of the cave, he cries out, "I cry out to You, O Lord; I say, ‘You are my refuge, My portion in the land of the living.’" (Psalm 142:6).
The question the midrash poses is deceptively simple: What does it mean that David had "understanding" (maskil in Hebrew, often used as a title for certain psalms, including this one)?
The answer, according to the midrash, is deeply humbling. In that cave, facing imminent danger from Saul, David realized something crucial. He saw, with absolute clarity, that his wealth, his wisdom, his strength – none of it mattered. None of it could save him. He was utterly alone.
And it was in that aloneness, in that stark awareness of his own powerlessness, that David found his only recourse: prayer. He understood, the midrash tells us, that he had no good except for prayer.
It's a powerful idea, isn't it? That the moment of greatest despair, the moment when we feel most utterly alone, can actually be the moment of greatest clarity. The moment when we realize that all we truly have is our connection to something larger than ourselves.
Think about the times in your own life when you've felt most vulnerable. Did you, like David, find yourself turning to prayer, to a deeper connection with the divine? Did you discover, perhaps, that in letting go of your reliance on your own strength, you found a strength you never knew you possessed?
The Midrash Tehillim offers us a profound lesson: Sometimes, it's in the cave, in the darkest and most isolating moments, that we truly understand. Sometimes, it's when we realize we have nothing else that we discover everything we need. And maybe, just maybe, that's the "understanding of David" that Psalm 142 is trying to convey.