Again the anger of the Lord burned against Israel, and he incited David against them, saying, “Go and take a census of Israel and Judah.”
2 So the king said to Joab and the army commanders[a] 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.”
3 But 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?”
4 The king’s word, however, overruled Joab and the army commanders; so they left the presence of the king to enroll the fighting men of Israel…
Before David got up the next morning, the word of the Lord had come to Gad the prophet, David’s seer: 12 “Go and tell David, ‘This is what the Lord says: I am giving you three options. Choose one of them for me to carry out against you.’”
13 So Gad went to David and said to him, “Shall there come on you three[b] 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.”
14 David said to Gad, “I am in deep distress. Let us fall into the hands of the Lord, for his mercy is great; but do not let me fall into human hands.”
15 So 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…
Araunah 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.”
22 Araunah 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.23 Your Majesty, Araunah[d] gives all this to the king.” Araunah also said to him, “May the Lord your God accept you.”
24 But 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[e] of silver for them.25 David 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.