The story of David’s census — a king at the height of his power counts his fighting men, and the very act of numbering them becomes his sin.
This account is found in 2 Samuel 24, near the end of David’s reign. It follows the census from the first order Joab is given, through David’s confession, the choice of judgment offered by the prophet Gad, and the altar David builds to see the plague stayed.
The Story of David’s Census
The anger of the LORD was kindled against Israel, and David was moved to number the people. He told Joab, the captain of his army, to go through all the tribes from Dan to Beer-sheba and count the fighting men, so that he might know how many there were.
Joab objected. He asked why the king delighted in such a thing and prayed that God would multiply the people many times over. But the king’s word prevailed against Joab, and so Joab and the captains went out and numbered Israel.
When the count was finished, Joab reported the sum to the king. In Israel there were eight hundred thousand valiant men who drew the sword, and the men of Judah were five hundred thousand.
After the people had been numbered, David’s heart smote him. He said to the LORD, I have sinned greatly in what I have done. He begged God to take away the guilt of his servant, confessing that he had acted very foolishly.
In the morning the word of the LORD came to the prophet Gad, David’s seer. Gad went to David and offered him three choices of judgment: seven years of famine, three months of fleeing before his enemies, or three days of pestilence in the land.
David was in great distress. He said he would rather fall into the hand of the LORD, whose mercies are great, than into the hand of man. So a pestilence came upon Israel, and seventy thousand people died. As the angel stretched his hand toward Jerusalem, the LORD said, It is enough, and stayed the destruction.
Gad told David to build an altar on the threshingfloor of Araunah the Jebusite. Araunah offered to give the land freely, but David refused, saying he would not offer to God that which cost him nothing. He bought the threshingfloor and the oxen, built an altar, and offered sacrifices. The LORD heard, and the plague was stayed.
Key Verses
“He moved David against them to say, Go, number Israel and Judah” 2 Samuel 24:1
“I have sinned greatly in that I have done … take away the iniquity of thy servant” 2 Samuel 24:10
“Let us fall now into the hand of the LORD … and let me not fall into the hand of man” 2 Samuel 24:14
“Neither will I offer burnt offerings unto the LORD my God of that which doth cost me nothing” 2 Samuel 24:24
Scripture quotations are from the King James Version (KJV), a public-domain translation.
What the Story of David’s Census Teaches Us
The story shows that sin can hide inside something that looks harmless. Counting soldiers was not wrong in itself, but David’s heart was trusting in his own strength and numbers rather than in God, and that pride is what convicted him.
It also shows the shape of true repentance. When David’s conscience struck him, he did not make excuses or blame Joab; he named his sin plainly and threw himself on God’s mercy rather than on the mercy of men.
David’s refusal to offer a sacrifice that cost him nothing teaches that real worship is not cheap. Genuine devotion to God is willing to give something of value, not merely what is convenient or free.
Bring the stories home. Explore Bible Stick Figures coloring books and printables that pair simple art with Scripture. Visit the shop →
Frequently Asked Questions
What happens in the story?
David orders a census of Israel and Judah against God’s will. Joab counts eight hundred thousand men in Israel and five hundred thousand in Judah. David’s conscience convicts him and he confesses his sin. The prophet Gad offers three judgments, and David chooses to fall into the hand of the LORD. A pestilence kills seventy thousand people. David then buys the threshingfloor of Araunah, builds an altar, and the plague is stayed.
Why was the census a sin?
The Bible does not spell out every reason, but the act reflected pride and reliance on military strength and numbers rather than trust in God. David’s own heart condemned him afterward, and even Joab had objected to the counting from the start.
Who was Gad in this story?
Gad was a prophet and David’s seer. After David confessed, the word of the LORD came to Gad, who brought God’s message to the king and offered him the three choices of judgment.
Why did David refuse Araunah’s free offer?
Araunah offered to give the threshingfloor and oxen to the king at no cost. David refused, saying he would not offer burnt offerings to the LORD that cost him nothing, so he paid fifty shekels of silver for the land and the oxen.
Where is this in the Bible?
The story of David’s census is found in 2 Samuel chapter 24. A parallel account appears in 1 Chronicles 21.