David Counted Israel and the Plague Came
David counted his people without the Torah's required ransom offering. Seventy thousand died — and where the plague stopped became the Temple Mount.
Table of Contents
There is a thread that runs from Jacob counting his household on the road into Egypt all the way to David ordering the most disastrous census in Israelite history. Each counting marks a turning point. Some are commanded by God. Some are responses to crisis. One — David's — was ordered for reasons the texts do not fully explain, and it cost seventy thousand lives before God relented and the plague stopped at the threshing floor of Araunah the Jebusite, on the same hill where Abraham had once bound Isaac for sacrifice.
This story is drawn from four distinct traditions. Ginzberg's Legends of the Jews (2,672 texts) traces the entire history of Israel's censuses from Jacob through Ezra. Josephus, writing in Rome between 93 and 94 CE, gives the most detailed account of David's counting and the plague that followed, collected in Josephus (200 texts). Midrash Tehillim — the rabbinic commentary on Psalms, compiled between the 9th and 13th centuries CE — reveals what David understood about prayer and leadership. And Pirkei DeRabbi Eliezer, an 8th-century CE work, maps the covenant logic that runs underneath all of it.
Every Census From Jacob to David
The Legends of the Jews preserves a remarkable overview of every time Israel was counted. Jacob counted his household when he entered Egypt. Moses counted the people after the Exodus, after the golden calf, as they organized camp divisions, and again before the division of the land. Each count was attached to a specific moment of transition — entry, catastrophe, reorganization, inheritance. The countings marked the shape of a people moving through history.
Then came Saul. The Legends note a striking detail about his two censuses. The first, before the battle against Nahash the Ammonite, was conducted with pebbles — each man brought one stone, simple and humble. The second, before the campaign against Amalek, each man brought a lamb. The difference between a pebble and a lamb is the difference between a kingdom just beginning and one that has prospered. Saul's two censuses are a before and after of a nation growing into itself.
David's census is in a category apart. Unlike every previous count, it was not divinely commanded, not attached to a holy transition, not conducted with the half-shekel offering the Torah required as a ransom for each soul counted (Exodus 30:12). It was — and the texts are delicate about exactly why — an act that presumed too much. Joab protested before it began. Benjamin and Levi went uncounted because David, struck with guilt, halted the census before it was complete. But the damage was already done.
How Josephus Describes the Plague
Josephus records the aftermath with the precision of a chronicler who wants his Roman readers to understand the scale of the catastrophe. The prophet Gad came to David with three choices. Seven years of famine. Three months of defeat by enemies. Three days of plague. David's reasoning, as Josephus preserves it, is painfully logical and strangely noble. He rejected famine because he had grain stored — he would survive while the people starved, and that would look self-serving. He rejected military defeat because his fortified cities gave him an advantage his people lacked. Also self-serving. He chose the plague. The one punishment that would fall equally on king and commoner, shepherd and general.
"It is much better," David said, "to fall into the hands of God than into those of his enemies."
The pestilence began at dawn. By the time it paused at dinner, seventy thousand were dead. Josephus describes the scene in terms that feel almost modern in their specificity: people collapsing on top of each other, some struck blind before the end, some disintegrating so completely there was nothing left to bury, mourners dropping dead in the middle of funeral rites for others.
Then David looked up. He saw the destroying angel suspended over Jerusalem, sword drawn, ready to strike the city itself. He threw himself to the ground in sackcloth and ash and cried out words that the rabbinic tradition would study for centuries: I am the shepherd who sinned. Punish me and my house. Spare the sheep who did nothing wrong.
Why David Prayed for All Israel, Not Just Himself
This is the moment Midrash Tehillim illuminates. The commentary on Psalms — assembled over several centuries but reaching its present form roughly between the 9th and 13th centuries CE — records David's understanding of his own role. When he stood before God, David said: "May my prayer not be despised before You, because the eyes of Israel are dependent on me, and my eyes are dependent on You. If You hear my prayer, it is as if You have heard their prayer."
This is not a king asking God for special treatment. This is a king acknowledging that a leader's prayer is not private. The community's hope travels through the one they look to; the one they look to must look upward with the same urgency and humility. Rabbi Pinchas, commenting on this passage, names it directly: David felt the weight of the people in his prayer. He was not praying to save himself from the consequences of his sin. He was praying as their representative — placing his petition before God as the focal point through which the nation's plea could reach.
The midrash connects this to the practice of communal fast days, when the prayer leader — the chazan — stands before the congregation. The eyes of the congregation rest on the chazan. The chazan's eyes rest on God. The chain of looking is not decorative. It is the structure through which prayer moves. David, standing in sackcloth before the hovering angel, was doing what the chazan does on a fast day: carrying a community's need upward on the thread of his own broken petition.
The Threshing Floor That Became the Temple
Josephus records what came next. The prophet Gad told David to go immediately to the threshing floor of Araunah the Jebusite and build an altar. Araunah offered the site, his oxen, and his farming equipment as a gift. David refused the gift. "I will not offer to God a sacrifice that costs me nothing." He paid fifty shekels of silver for the threshing floor, built the altar, and offered burnt offerings and peace offerings. The plague stopped.
And then Josephus drops the detail that changes everything: this was the same ground where Abraham had once bound Isaac for sacrifice. The place where a father nearly killed his son. The place where a king's pride nearly killed a nation. The place where the plague stopped. This ground — purchased with fifty shekels by a king in sackcloth — would become the site of Solomon's Temple. The holiest ground in the world was not chosen for its beauty or its strategic value. It was chosen because it was the place where blood had stopped flowing and an altar had been built in grief and repentance.
Pirkei DeRabbi Eliezer, compiled in the 8th century CE, reads the entire pattern differently. It traces covenant logic through generations, noting how the oath Isaac made with Avimelech — the "bridle of the cubit" David later had to neutralize before he could conquer the Philistines — had bound the land's politics for centuries. The covenants made by the patriarchs did not expire. They ran forward through history, shaping what was possible for each generation. Jacob's covenant with Laban at the stone heap was still governing borders in David's time. Isaac's oath to Avimelech was still protecting Philistine territory until David found a way to dissolve it.
What Does It Mean That God Chose That Spot?
The question the rabbis keep returning to is why the plague stopped where it did. Not in a palace. Not at a shrine. On a threshing floor owned by a Jebusite — a non-Israelite, a member of the people David had conquered when he took Jerusalem. Araunah, who offered the site freely, who bowed before the king, who gave his oxen and his tools without hesitation.
The rabbis read this as a deliberate divine choice. The Temple would not be built on ground that was taken by force or inherited by right of conquest. It would be purchased, fairly, at market price, from the man who owned it. The same way Abraham had purchased the cave at Hebron — four hundred shekels of silver to Ephron the Hittite — the Temple site was acquired by transaction, not by seizure. The holiest real estate in the world was obtained through consent.
David did not live to see the Temple built. He spent his final years gathering materials — ten thousand talents of gold, one hundred thousand talents of silver, brass and iron beyond measure — and organizing the Levites into thirty-eight divisions for the work that Solomon would complete. He laid out the plans God had given him. He gave from his own treasury. He stood before the assembled nation and told them what the Temple was for.
All of it — the plague, the grief, the purchased threshing floor, the mountains of gold — traces back to one moment: a king who counted his people without the half-shekel ransom the Torah required. And who, when the consequence arrived on wings over Jerusalem, chose to be punished equally with the people he had endangered, threw himself to the ground, and prayed not for himself but for them.
The eyes of Israel were dependent on him. His eyes were dependent on God. The chain held.
Read the primary sources: God Sends a Plague After David Counts Israel (Josephus, Antiquities VII.14), David Prayed Not Just for Himself but All Israel (Midrash Tehillim 25:5), and Every Census of Israel From Jacob to King David from the Legends of the Jews.