Satan was against Israel, and he caused David to count the people of Israel. So David said to Joab and the commanders of the troops, “Go and count all the Israelites from Beersheba to Dan. Then tell me so I will know how many there are.”
But Joab said, “May the LORD give the nation a hundred times more people. My master the king, all the Israelites are your servants. Why do you want to do this, my master? You will make Israel guilty of sin.”
But the king commanded Joab, so Joab left and went through all Israel. Then he returned to Jerusalem. Joab gave the list of the people to David. There were one million one hundred thousand men in all of Israel who could use the sword, and there were four hundred seventy thousand men in Judah who could use the sword. But Joab did not count the tribes of Levi and Benjamin, because he didn’t like King David’s order. David had done something God had said was wrong, so God punished Israel.
Then David said to God, “I have sinned greatly by what I have done! Now, I beg you to forgive me, your servant, because I have been very foolish.”
The LORD said to Gad, who was David’s seer, “Go and tell David, ‘This is what the LORD says: I offer you three choices. Choose one of them and I will do it.’ ”
So Gad went to David and said to him, “This is what the LORD says: ‘Choose for yourself three years of hunger. Or choose three months of running from your enemies as they chase you with their swords. Or choose three days of punishment from the LORD, in which a terrible disease will spread through the country. The angel of the LORD will go through Israel destroying the people.’ Now, David, decide which of these things I should tell the LORD who sent me.”
David said to Gad, “I am in great trouble. Let the LORD punish me, because the LORD is very merciful. Don’t let my punishment come from human beings.”
So the LORD sent a terrible disease on Israel, and seventy thousand people died. God sent an angel to destroy Jerusalem, but when the angel started to destroy it, the LORD saw it and felt very sorry about the terrible things that had happened. So he said to the angel who was destroying, “That is enough! Put down your arm!” The angel of the LORD was then standing at the threshing floor of Araunah the Jebusite.
David looked up and saw the angel of the LORD in the sky, holding his sword drawn and pointed at Jerusalem. Then David and the elders bowed facedown on the ground. They were wearing rough cloth to show their grief. David said to God, “I am the one who sinned and did wrong. I gave the order for the people to be counted. These people only followed me like sheep. They did nothing wrong. LORD my God, please punish me and my family, but stop the terrible disease that is killing your people.”
Then the angel of the LORD told Gad to tell David that he should build an altar to the LORD on the threshing floor of Araunah the Jebusite. So David did what Gad told him to do, in the name of the LORD.
Araunah was separating the wheat from the straw. When he turned around, he saw the angel. Araunah’s four sons who were with him hid. David came to Araunah, and when Araunah saw him, he left the threshing floor and bowed facedown on the ground before David.