Moses Wanted His Sin Carved in Stone, David Wanted His Hidden
Two of the greatest leaders in Jewish history sinned publicly. One asked God to expose it forever. The other begged God to bury it.
The rabbis were fascinated by the idea that two men would someday meet in heaven and have an argument about shame. One was Moses, who had struck a rock in the wilderness when God told him only to speak to it, and had been locked out of the Promised Land for it. The other was David, who had taken another man's wife and sent the man to die in battle, and had spent the rest of his life trying to outrun the memory. Both were great. Both sinned. Both wrote about it. The difference is that one of them asked for the story to be preserved and the other asked for it to be erased.
Sifrei Bamidbar, the third-century tannaitic midrash on the Book of Numbers, places the contrast directly. Moses, the midrash says, demanded that his sin be written down. Do not let the people say Moses falsified the Torah. Do not let the generations wonder what I did wrong. Write it. Put the name of the place where I struck the rock into the text. Put my punishment into the text. Put the fact that I died outside the land because of one angry moment into the text. He insisted. The Torah in (Numbers 20:12) obeys him and records the whole scene exactly as he asked.
David did the opposite. The same Sifrei passage points to the Psalms, which are full of David's confessions but almost never name the sin behind them. He speaks in abstractions. Wash me thoroughly from my iniquity. Against you alone have I sinned. Create in me a clean heart. The name Bathsheba does not appear. Uriah does not appear. The specific scene in (2 Samuel 11) is never quoted back. David, the poet of shame, wanted the feeling preserved and the facts blurred. He wrote one psalm, Psalm 51, after the prophet Nathan confronted him, and even that psalm refuses to name what he did. It refuses because David asked God to forgive him in a way that no subsequent generation would have to hear the details.
The rabbis were not writing about moral preference. They were writing about two different theologies of leadership. Moses is the prophet who believes the nation's trust depends on transparency. David is the king who believes the nation's trust depends on a certain kind of silence. Both are asking the Torah to protect a people. They just disagree about what protection means.
The same Sifrei tradition sets up a second contrast, in Sifrei Devarim, the tannaitic midrash on Deuteronomy. Even Moses and David needed grace, the text insists. Both of them begged. Both of them wore God out with prayer. The midrash actually counts the number of words Moses used to ask to enter the land and compares it to the number of words David used in his own entreaties. It is not a measuring contest. It is a warning. If the two greatest men in the Hebrew Bible could not get what they wanted without crying, do not expect that your righteousness will be enough either.
The most beautiful text in the Moses-and-David cluster is in Midrash Tehillim, the medieval midrash on Psalms that absorbed hundreds of years of earlier rabbinic tradition. Both men longed for the land they could not enter. Moses longed for Canaan and died on a mountaintop in Moab looking down at a view he could not step into. David longed, not for Canaan, because he lived there already, but for the Temple. He wanted to build the house of God in Jerusalem and was told no. Solomon, his son, would build it. David would not even see it finished.
The rabbis pair these two longings as if they were the same wound. Moses looks across the Jordan. David looks across the years. Both of them make peace with a view they were not allowed to walk into. Both of them hand the completion of their work to someone younger.
In another Midrash Tehillim passage, David describes himself as a blot. A smudge on a page. Not worthy to sit with the patriarchs and the prophets. The rabbi tells a story about a traveler who walks into a tavern with two coins in his hand. The tavern keeper offers him every dish on the menu. The traveler says, give me food for two coins. Dance according to your coins. David sees himself as the man with the two coins, the one who cannot sit among Abraham, Isaac, Jacob, Moses and Aaron at the head of the table, and must sit near the door with whatever humility he can afford.
The rabbis loved that parable because it was the opposite of what a king should ever say about himself. David wrote it anyway.
And then there is a tradition in the Tikkunei Zohar, a kabbalistic work compiled in thirteenth-century Castile, that goes further. It places Moses and David together as the two poles of the sefirah of Malkhut, the divine presence in the world. Moses is the conduit of written Torah. David is the conduit of song. They complete each other. The Zoharic tradition says that the Shekhinah, the indwelling presence of God, passes through Moses into Torah and through David into Psalms, and the two streams together are what makes Jewish prayer work. The man who wanted his sin recorded and the man who wanted his sin hidden are the same Shekhinah from two sides.
The lesson the rabbis kept returning to is not that Moses was more righteous than David or that David was more honest than Moses. It is that both kinds of shame are holy. You can ask for your mistake to be remembered, and God will honor it. You can ask for your mistake to be forgotten, and God will honor that too. What you cannot do is pretend the mistake never happened. The Torah and the Psalms, sitting side by side in the same canon, are what remains of two men who could not pretend.