24Again the anger of the Lord was kindled against Israel, and he incited David against them, saying, Go, count the people of Israel and Judah. 2So the king said to Joab and the commanders of the army, who were with him, Go through all the tribes of Israel, from Dan to Beer-sheba, and take a census of the people, so that I may know how many there are. 3But Joab said to the king, May the Lord your God increase the number of the people a hundredfold, while the eyes of my lord the king can still see it! But why does my lord the king want to do this? 4But the kings word prevailed against Joab and the commanders of the army. So Joab and the commanders of the army went out from the presence of the king to take a census of the people of Israel. 5They crossed the Jordan, and began from Aroer and from the city that is in the middle of the valley, towards Gad and on to Jazer. 6Then they came to Gilead, and to Kadesh in the land of the Hittites; and they came to Dan, and from Dan they went round to Sidon, 7and came to the fortress of Tyre and to all the cities of the Hivites and Canaanites; and they went out to the Negeb of Judah at Beer-sheba. 8So when they had gone through all the land, they came back to Jerusalem at the end of nine months and twenty days. 9Joab reported to the king the number of those who had been recorded: in Israel there were eight hundred thousand soldiers able to draw the sword, and those of Judah were five hundred thousand.
10 But afterwards, David was stricken to the heart because he had numbered the people. David said to the Lord, I have sinned greatly in what I have done. But now, O Lord, I pray you, take away the guilt of your servant; for I have done very foolishly. 11When David rose in the morning, the word of the Lord came to the prophet Gad, Davids seer, saying, 12Go and say to David: Thus says the Lord: Three things I offer you; choose one of them, and I will do it to you. 13So Gad came to David and told him; he asked him, Shall three years of famine come to you on your land? Or will you flee for three months before your foes while they pursue you? Or shall there be three days pestilence in your land? Now consider, and decide what answer I shall return to the one who sent me. 14Then David said to Gad, I am in great distress; let us fall into the hand of the Lord, for his mercy is great; but let me not fall into human hands.
15 So the Lord sent a pestilence on Israel from that morning until the appointed time; and seventy thousand of the people died, from Dan to Beer-sheba. 16But when the angel stretched out his hand towards Jerusalem to destroy it, the Lord relented concerning the evil, and said to the angel who was bringing destruction among the people, It is enough; now stay your hand. The angel of the Lord was then by the threshing-floor of Araunah the Jebusite. 17When David saw the angel who was destroying the people, he said to the Lord, I alone have sinned, and I alone have done wickedly; but these sheep, what have they done? Let your hand, I pray, be against me and against my fathers house.
18 That day Gad came to David and said to him, Go up and erect an altar to the Lord on the threshing-floor of Araunah the Jebusite. 19Following Gads instructions, David went up, as the Lord had commanded. 20When Araunah looked down, he saw the king and his servants coming towards him; and Araunah went out and prostrated himself before the king with his face to the ground. 21Araunah said, Why has my lord the king come to his servant? David said, To buy the threshing-floor from you in order to build an altar to the Lord, so that the plague may be averted from the people. 22Then Araunah said to David, Let my lord the king take and offer up what seems good to him; here are the oxen for the burnt-offering, and the threshing-sledges and the yokes of the oxen for the wood. 23All this, O king, Araunah gives to the king. And Araunah said to the king, May the Lord your God respond favourably to you.
24 But the king said to Araunah, No, but I will buy them from you for a price; I will not offer burnt-offerings to the Lord my God that cost me nothing. So David bought the threshing-floor and the oxen for fifty shekels of silver. 25David built there an altar to the Lord, and offered burnt-offerings and offerings of well-being. So the Lord answered his supplication for the land, and the plague was averted from Israel.