1Satan stood up against Israel and moved David to number Israel.
2David said to Joab and to the officials of the people, “Go, number Israel from Beer-sheba even to Dan; and bring me word, that I may know the sum of them.”
3Joab said, “May Yahweh make his people 100 times as many as they are. But, my lord the king, aren’t they all my lord’s servants? Why does my lord require this thing? Why will he be a cause of guilt to Israel?”
4Nevertheless the king’s word prevailed against Joab. Therefore Joab departed and went throughout all Israel, and came to Jerusalem.
5Joab gave up the sum of the numbering of the people to David. All those of Israel were 1,100,000 men who drew sword: and in Judah were 470,000 men who drew sword.
6But he didn’t count Levi and Benjamin among them; for the king’s word was abominable to Joab.
7God was displeased with this thing; therefore he struck Israel.
11So Gad came to David and said to him, “This is what Yahweh says: ‘Take your choice:
12either three years of famine; or three months to be consumed before your foes while the sword of your enemies overtakes you; or else three days the sword of Yahweh, even pestilence in the land, and the angel of Yahweh destroying throughout all the territory of Israel. Now therefore consider what answer I should return to him who sent me.’”
14So Yahweh sent a pestilence on Israel, and 70,000 men of Israel fell.
15God sent an angel to Jerusalem to destroy it. As he was about to destroy, Yahweh saw, and he relented of the disaster, and said to the destroying angel, “It is enough; now stay your hand.” The angel of Yahweh was standing by the threshing floor of Ornan the Jebusite.
Then David and the elders, clothed in sackcloth, fell on their faces.
17David said to God, “Isn’t it I who commanded the people to be numbered? It is even I who have sinned and done very wickedly; but these sheep, what have they done? Please let your hand, O Yahweh my God, be against me and against my father’s house, but not against your people, that they should be plagued.”
18Then the angel of Yahweh commanded Gad to tell David that David should go up and raise an altar to Yahweh in the threshing floor of Ornan the Jebusite.
19David went up at the saying of Gad that he spoke in the name of Yahweh.
20Ornan turned back, and saw the angel, and his four sons who were with him hid themselves. Now Ornan was threshing wheat.
21As David came to Ornan, Ornan looked and saw David and went out of the threshing floor and bowed himself to David with his face to the ground.
22Then David said to Ornan, “Give me the place of this threshing floor, that I may build on it an altar to Yahweh. You are to sell it to me for the full price, that the plague may be stopped from afflicting the people.”
23Ornan said to David, “Take it for yourself, and let my lord the king do what is good in his eyes. Behold, I give the oxen for burnt offerings and the threshing instruments for wood and the wheat for the grain offering. I give it all.”
25So David gave to Ornan 600 shekels of gold by weight for the place.
26David built an altar to Yahweh there and offered burnt offerings and peace offerings, and called on Yahweh; and he answered him from heaven by fire on the altar of burnt offering.
27Yahweh commanded the angel, and he put up his sword again into its sheath.
28At that time, when David saw that Yahweh had answered him in the threshing floor of Ornan the Jebusite, then he sacrificed there.
29For the tabernacle of Yahweh, which Moses 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 because of the sword of the angel of Yahweh.