When David Begged God for the Madness He Once Mocked
David told God madness was ugly and useless. Years later, in a Philistine court with Goliath's sword on his hip, he prayed to become a fool.
Table of Contents
The Complaint David Should Not Have Made
David was reading Ecclesiastes and he got to the verse he could not accept. He has made everything beautiful in its time. Everything. David looked at the list and objected. The madman who tears his clothes in the street. The children who chase him throwing stones. The crowd in the marketplace laughing. Where exactly, David asked God, is the beauty in that.
God answered with a sentence that should have chilled him. By your life, one day you will need it. The Yalkut Shimoni on Nach, a thirteenth-century compilation that gathered older midrashic traditions about the books of the Prophets and Writings, remembered this exchange and what came after it. David had just taken out a loan on the thing he found most contemptible. Proverbs knew the principle: the person who disdains something will be injured by it, or more precisely, pawned to it. David had put himself in debt to madness by refusing to see its place in creation.
Running to the Hometown of the Giant He Killed
The debt came due faster than David expected. Saul was hunting him across the hills of Judah with an army. The first sanctuary David chose was Gath, home city of Goliath, and he arrived there still carrying Goliath's sword. The midrash wants you to feel the particular quality of this mistake. He ran to the one place in the world where he was most recognized and most hated, carrying the proof of the killing they had not forgotten. The servants of Achish, the Philistine king, took one look and told their king what they were looking at: the man who killed tens of thousands, who is famous in songs across the whole region, who is holding the sword of our greatest warrior.
David heard what they were saying. He calculated the distance to the door and the number of men between him and it and understood that this was the moment Ecclesiastes had been describing. He needed the thing he had mocked.
The Prayer He Would Not Have Said Before
The midrash stages his prayer as a direct reversal of the earlier complaint. David had told God that madness served no purpose. Now he prayed for it specifically, with the urgency of a man who can see the guards moving. He asked for the kind of madness that would make him look harmless, the drooling irrational behavior that puts a dangerous man into a different category in the minds of the people who are deciding whether to kill him.
God gave him what he asked for. David scratched marks on the gate. He let spittle run into his beard. He made the sounds that people make who are no longer fully present in their own minds. Achish looked at this and said something dismissive: I have enough madmen of my own, take him away. The contempt that David had felt for madness was now the feeling that saved his life. He walked out of Gath because of the thing he had called ugly and pointless, the thing God had told him he would need, the thing Ecclesiastes had listed among the beautiful things in their time.
The Song of Songs Connection and the Binding
The third element in the Yalkut Shimoni's account connects the David story to a larger pattern. The Song of Songs, the midrash notes, contains a cluster of passages about returning, about coming back from a place of danger or exile to the beloved. The rabbis read these as corresponding to specific moments of rescue in the national story, including the exodus from Egypt and the return from Babylonian captivity. And they connected the rescue of David in Gath to this same pattern: a person in the grip of an enemy power who gets out not through military strength but through something that looks, from the outside, like weakness or loss of dignity.
The Binding of Isaac belongs to the same cluster. Abraham went to Moriah carrying something he did not fully understand, willing to surrender the thing most precious to him. David went to Gath carrying Goliath's sword, surrendering the dignity most precious to him. Both of them came back. The pattern that the midrash traces across David's flight, the Binding, the Song of Songs, and the exodus is a pattern about the specific kind of rescue that becomes available only to the person who has run out of ordinary options. At that point, the thing God told you that you would need, the thing you found ugly and dismissed, is already waiting.
← All myths