David Sang a Psalm While His Son Stole His Throne
How could David sing praise to God while fleeing Absalom? The midrash traces the impossible mixture of grief, gratitude, and ancestral memory.
The question that opens this teaching in the Midrash Rabbah is simple and devastating: if David was weeping when he fled Jerusalem, why was he singing? And if he was singing, why was he weeping? The third Psalm carries the heading, a Psalm of David, and the rabbis refuse to let that heading sit quietly. A man whose son has stolen his throne and whose generals have defected and whose wives are being publicly violated on the rooftop is not a man who writes psalms. And yet he did. The superscription names the occasion: the flight from Absalom his son (Psalm 3:1). The rabbis of the Midrash Rabbah, working in Palestine in the fourth and fifth centuries CE, treat this superscription as an invitation to reconstruct the whole interior experience of a man in flight.
Rabbi Abba bar Kahana offers a parable to answer the question. There was a king who became angry with his son and banished him. The king then sent his own teacher after the son to accompany him in exile. The pedagogue found the son doing both things at once, weeping and singing. Asked how he could do both, the son said: I weep because I provoked my father. I sing because his sentence against me is not death, and not only did he not kill me, he sent me to duchies and provinces rather than to a dungeon. The son is grateful for the form of punishment he received, even while mourning that he required punishment at all. The parable is not a comfort story. It is a precision instrument for describing the emotional logic of a man who has genuinely done wrong and is being genuinely punished and yet finds, in the specific shape of his punishment, evidence that his father still loves him.
David's logic, in the Midrash's reading, follows the same structure. He had committed real sins, and the rabbis do not flinch from naming them. God told David directly: you committed one adultery and sixteen will be committed against you. You took one life and sixteen will be taken from yours. The fourfold restitution that David himself decreed in the parable of Nathan (2 Samuel 12:6) became the template for his own suffering: four times four, sixteen acts of violation for every one he had committed. Absalom was not an accident of history. He was the working out of a moral economy that David himself had endorsed without knowing he was endorsing it.
Rabbi Yudan adds another dimension. David observed that Jacob had fled and Moses had fled, and he found comfort in this lineage of fugitives. Jacob fled to Aram. Moses fled from Pharaoh (Exodus 2:15). The great ancestors of Israel were not men who held their ground in every crisis. They were men who ran when they had to and returned when God made it possible. David took his place in this company not as a failure but as a participant in a long tradition of holy flight. He began to recite Psalm 119:52, I have remembered Your judgments of old, O Lord, and have comforted myself. The memory of divine judgment was not a source of dread for David in that moment. It was a source of steadiness. If God had judged before and the people had survived, then this too would be survived.
What is remarkable is how completely the Midrash tracks David's emotional state through the specific events of 2 Samuel 15 through 17. Every moment of comfort has a corresponding verse. When Hushai the Archite arrived to serve as David's spy in Absalom's court, David took it as a sign that his kingdom would be established and began to sing. When Shobi and Barzillai and Machir came to Mahanaim with beds and basins and food, David read this as God making peace with him through his former enemies. The last thing David says before he opens Psalm 3 is this: these are the people I was afraid of, and they have brought me bread. It can only be that God has made peace between me and them. He then began to sing, O Lord, how many are my foes!
There is something almost architectural in the Midrash's construction here. The rabbis who shaped this text are not merely explaining a difficult superscription. They are demonstrating that David's life was a single continuous act of theological interpretation. Every event was read. Every setback was placed in a framework larger than the setback itself. Shimei cursed David on the hillside, and David heard in the curse an echo of his own transgressions. Absalom took David's throne, and David found comfort in the precedent of Jacob. The rabbis who remembered this at the distance of centuries, in their own exile after the Temple's destruction, were reading David for the same reason: to learn how to sing a psalm while weeping, which is the only way to keep singing at all. Grief and praise, held together without resolving into either one, is the form that faith takes when the evidence of punishment and the evidence of love arrive in the same moment. It is not a comfortable posture. But Midrash Rabbah insists it is the only honest one, and David modeled it on the Mount of Olives while his servants passed by and the kingdom that had been his was already becoming his son's.