2So the king said to Joab and the army commanders with him, "Go throughout the tribes of Israel from Dan to Beersheba and enroll the fighting men, so that I may know how many there are."
3But Joab replied to the king, "May the LORD your God multiply the troops a hundred times over, and may the eyes of my lord the king see it. But why does my lord the king want to do such a thing?"
9Joab reported the number of the fighting men to the king: In Israel there were eight hundred thousand able-bodied men who could handle a sword, and in Judah five hundred thousand.
10David was conscience-stricken after he had counted the fighting men, and he said to the LORD, "I have sinned greatly in what I have done. Now, LORD, I beg you, take away the guilt of your servant. I have done a very foolish thing."
13So Gad went to David and said to him, "Shall there come on you three years of famine in your land? Or three months of fleeing from your enemies while they pursue you? Or three days of plague in your land? Now then, think it over and decide how I should answer the one who sent me."
15So the LORD sent a plague on Israel from that morning until the end of the time designated, and seventy thousand of the people from Dan to Beersheba died.
16When the angel stretched out his hand to destroy Jerusalem, the LORD relented concerning the disaster and said to the angel who was afflicting the people, "Enough! Withdraw your hand." The angel of the LORD was then at the threshing floor of Araunah the Jebusite.
17When David saw the angel who was striking down the people, he said to the LORD, "I have sinned; I, the shepherd, have done wrong. These are but sheep. What have they done? Let your hand fall on me and my family."
21Araunah said, "Why has my lord the king come to his servant?" "To buy your threshing floor," David answered, "so I can build an altar to the LORD, that the plague on the people may be stopped."
22Araunah said to David, "Let my lord the king take whatever he wishes and offer it up. Here are oxen for the burnt offering, and here are threshing sledges and ox yokes for the wood.
24But the king replied to Araunah, "No, I insist on paying you for it. I will not sacrifice to the LORD my God burnt offerings that cost me nothing." So David bought the threshing floor and the oxen and paid fifty shekels of silver for them.
25David built an altar to the LORD there and sacrificed burnt offerings and fellowship offerings. Then the LORD answered his prayer in behalf of the land, and the plague on Israel was stopped.