2The king told Joab, the general in command of his army, "Go through all the tribes of Israel from Dan to Beer Sheba and muster the army, so I may know the size of the army."
3Joab replied to the king, "May the LORD your God make the army a hundred times larger right before the eyes of my lord the king! But why does my master the king want to do this?"
4But the king's edict stood, despite the objections of Joab and the leaders of the army. So Joab and the leaders of the army left the king's presence in order to muster the Israelite army.
10David felt guilty after he had numbered the army. David said to the LORD, "I have sinned greatly by doing this! Now, O LORD, please remove the guilt of your servant, for I have acted very foolishly."
13Gad went to David and told him, "Shall seven years of famine come upon your land? Or shall you flee for three months from your enemy with him in hot pursuit? Or shall there be three days of plague in your land? Now decide what I should tell the one who sent me."
15So the LORD sent a plague through Israel from the morning until the completion of the appointed time. Seventy thousand men died from Dan to Beer Sheba.
16When the angel extended his hand to destroy Jerusalem, the LORD relented from his judgment. He told the angel who was killing the people, "That's enough! Stop now!" (Now the LORD's angel was near the threshing floor of Araunah the Jebusite.)
17When he saw the angel who was destroying the people, David said to the LORD, "Look, it is I who have sinned and done this evil thing! As for these sheep--what have they done? Attack me and my family."
21Araunah said, "Why has my lord the king come to his servant?" David replied, "To buy from you the threshing floor so I can build an altar for the LORD, so that the plague may be removed from the people."
22Araunah told David, "My lord the king may take whatever he wishes and offer it. Look! Here are oxen for burnt offerings, and threshing sledges and harnesses for wood.
24But the king said to Araunah, "No, I insist on buying it from you! I will not offer to the LORD my God burnt sacrifices that cost me nothing." So David bought the threshing floor and the oxen for fifty pieces of silver.
25Then David built an altar for the LORD there and offered burnt sacrifices and peace offerings. And the LORD accepted prayers for the land, and the plague was removed from Israel.