21Satan stood up against Israel, and incited David to count the people of Israel. 2So David said to Joab and the commanders of the army, Go, number Israel, from Beer-sheba to Dan, and bring me a report, so that I may know their number. 3But Joab said, May the Lord increase the number of his people a hundredfold! Are they not, my lord the king, all of them my lords servants? Why then should my lord require this? Why should he bring guilt on Israel? 4But the kings word prevailed against Joab. So Joab departed and went throughout all Israel, and came back to Jerusalem. 5Joab gave the total count of the people to David. In all Israel there were one million one hundred thousand men who drew the sword, and in Judah four hundred and seventy thousand who drew the sword. 6But he did not include Levi and Benjamin in the numbering, for the kings command was abhorrent to Joab.
7 But God was displeased with this thing, and he struck Israel. 8David said to God, I have sinned greatly in that I have done this thing. But now, I pray you, take away the guilt of your servant; for I have done very foolishly. 9The Lord spoke to Gad, Davids seer, saying, 10Go and say to David, Thus says the Lord: Three things I offer you; choose one of them, so that I may do it to you. 11So Gad came to David and said to him, Thus says the Lord, Take your choice: 12either three years of famine; or three months of devastation by your foes, while the sword of your enemies overtakes you; or three days of the sword of the Lord, pestilence on the land, and the angel of the Lord destroying throughout all the territory of Israel. Now decide what answer I shall return to the one who sent me. 13Then David said to Gad, I am in great distress; let me fall into the hand of the Lord, for his mercy is very great; but let me not fall into human hands.
14 So the Lord sent a pestilence on Israel; and seventy thousand persons fell in Israel. 15And God sent an angel to Jerusalem to destroy it; but when he was about to destroy it, the Lord took note and relented concerning the calamity; he said to the destroying angel, Enough! Stay your hand. The angel of the Lord was then standing by the threshing-floor of Ornan the Jebusite. 16David looked up and saw the angel of the Lord standing between earth and heaven, and in his hand a drawn sword stretched out over Jerusalem. Then David and the elders, clothed in sackcloth, fell on their faces. 17And David said to God, Was it not I who gave the command to count the people? It is I who have sinned and done very wickedly. But these sheep, what have they done? Let your hand, I pray, O Lord my God, be against me and against my fathers house; but do not let your people be plagued!
18 Then the angel of the Lord commanded Gad to tell David that he should go up and erect an altar to the Lord on the threshing-floor of Ornan the Jebusite. 19So David went up following Gads instructions, which he had spoken in the name of the Lord. 20Ornan turned and saw the angel; and while his four sons who were with him hid themselves, Ornan continued to thresh wheat. 21As David came to Ornan, Ornan looked and saw David; he went out from the threshing-floor, and did obeisance to David with his face to the ground. 22David said to Ornan, Give me the site of the threshing-floor that I may build on it an altar to the Lordgive it to me at its full priceso that the plague may be averted from the people. 23Then Ornan said to David, Take it; and let my lord the king do what seems good to him; see, I present the oxen for burnt-offerings, and the threshing-sledges for the wood, and the wheat for a grain-offering. I give it all. 24But King David said to Ornan, No; I will buy them for the full price. I will not take for the Lord what is yours, nor offer burnt-offerings that cost me nothing. 25So David paid Ornan six hundred shekels of gold by weight for the site. 26David built there an altar to the Lord and presented burnt-offerings and offerings of well-being. He called upon the Lord, and he answered him with fire from heaven on the altar of burnt-offering. 27Then the Lord commanded the angel, and he put his sword back into its sheath.
28 At that time, when David saw that the Lord had answered him at the threshing-floor of Ornan the Jebusite, he made his sacrifices there. 29For the tabernacle of the Lord, which Moses had made in the wilderness, and the altar of burnt-offering were at that time in the high place at Gibeon; 30but David could not go before it to inquire of God, for he was afraid of the sword of the angel of the Lord. 221Then David said, Here shall be the house of the Lord God and here the altar of burnt-offering for Israel.