The Adversary [Hebrew: Satan] now rose up against Isra'el and incited David to take a census of Isra'el.
David said to Yo'av and the leaders of the people, "Go, take a census of Isra'el from Be'er-Sheva to Dan; then report to me, so that I can know how many of them there are."
Yo'av said, "May ADONAI make his people a hundred times as many as they are now! But, my lord the king, aren't they all my lord's servants in any case? Why does my lord the king require this? Why should he bring guilt upon Isra'el?"
Nevertheless, the king's word prevailed against Yo'av. So Yo'av left and went through all Isra'el, after which he came to Yerushalayim.
Yo'av reported the results of the census to David: in Isra'el were 1,100,000 men who could handle a sword, while Y'hudah had 470,000 men who could handle a sword.
But he didn't count Levi and Binyamin among them, because the king's order was hateful to Yo'av.
God was displeased with this and therefore punished Isra'el.
David said to God, "I have greatly sinned by doing this. But now, please! Put aside your servant's sin, for I have done a very foolish thing."
ADONAI spoke to Gad, David's seer:
"Go and tell David that ADONAI says, 'I am offering you a choice of three punishments: choose one of them, and I will execute it against you.'"
Gad came to David and said to him, "Take your choice:
three years of famine; or three months of being swept away by your enemies, while your enemies' sword overwhelms you; or three days of ADONAI's sword - plague in the land, with the angel of ADONAI destroying everywhere in Isra'el's territory. Now think about what answer I should give to the one who sent me."
David said to Gad, "This is very hard for me. Let me fall into the hand of ADONAI, because his mercies are very great, rather than have me fall into the hand of man."
So ADONAI sent a plague on Isra'el; 70,000 of the people of Isra'el died.
God also sent an angel to destroy Yerushalayim, but when he was about to carry out the destruction, ADONAI saw it and changed his mind about causing such distress; so he said to the destroying angel, "Enough! Now withdraw your hand."The angel of ADONAI was standing at the threshing-floor of Ornan the Y'vusi.
David raised his eyes and saw the angel of ADONAI standing between the earth and the sky, and in his hand was a drawn sword stretched out over Yerushalayim. Then David and the leaders, wearing sackcloth, fell on their faces.
David said to God, "Wasn't it I who ordered the census of the people? Yes, I am the one who has sinned and done something very wicked. But these sheep, what have they done? Please! Let your hand be against me and my father's family, but not against your people, striking them with this plague!"
Then the angel of ADONAI ordered Gad to tell David to go and set up an altar to ADONAI on the threshing-floor of Ornan the Y'vusi.
David went up at Gad's word, spoken in ADONAI's name.
Ornan turned back and saw the angel, and his four sons who were with him hid themselves. As Ornan was threshing wheat,
David approached Ornan. When Ornan looked and saw David, he went out from the threshing-floor and prostrated himself before David with his face to the ground.
Then David said to Ornan, "Let me have the parcel with this threshing-floor, so that I can build on it an altar to ADONAI - I will pay you its full value - so that the plague will be lifted from the people."
Ornan said to David, "Take it for yourself, and let my lord the king do what seems good to him. I'm giving you the oxen for the burnt offerings, the threshing-sledges for firewood and the wheat for the grain offering - I'm giving it all."
But King David said to Ornan, "No; I insist on buying it from you at the full price. I refuse to take what is yours for ADONAI or offer a burnt offering that costs me nothing."
So David bought the place from Ornan for 600 shekels of gold by weight [fifteen pounds].
Then David built an altar to ADONAI there and offered burnt offerings and peace offerings. He called on ADONAI, who answered him from heaven by fire on the altar for burnt offerings.
ADONAI gave an order to the angel, and he put his sword back in its sheath.
When David saw that ADONAI had answered him at the threshing-floor of Ornan the Y'vusi, he sacrificed there.
For at that time the tabernacle of ADONAI, which Moshe had made in the desert, together with the altar for burnt offerings, were in the high place at Giv'on.
But David could not go into its presence to consult God, because the sword of the angel of ADONAI had struck him with terror.