YouVersion Logo
Search Icon

1 Chronicles 21:1-30

1 Chronicles 21:1-30 King James Version (KJV)

And Satan stood up against Israel, and provoked David to number Israel. And David said to Joab and to the rulers of the people, Go, number Israel from Beer-sheba even to Dan; and bring the number of them to me, that I may know it. And Joab answered, The LORD make his people an hundred times so many more as they be: but, my lord the king, are they not all my lord's servants? why then doth my lord require this thing? why will he be a cause of trespass to Israel? Nevertheless the king's word prevailed against Joab. Wherefore Joab departed, and went throughout all Israel, and came to Jerusalem. And Joab gave the sum of the number of the people unto David. And all they of Israel were a thousand thousand and an hundred thousand men that drew sword: and Judah was four hundred threescore and ten thousand men that drew sword. But Levi and Benjamin counted he not among them: for the king's word was abominable to Joab. And God was displeased with this thing; therefore he smote Israel. And David said unto God, I have sinned greatly, because I have done this thing: but now, I beseech thee, do away the iniquity of thy servant; for I have done very foolishly. And the LORD spake unto Gad, David's seer, saying, Go and tell David, saying, Thus saith the LORD, I offer thee three things: choose thee one of them, that I may do it unto thee. So Gad came to David, and said unto him, Thus saith the LORD, Choose thee either three years' famine; or three months to be destroyed before thy foes, while that the sword of thine enemies overtaketh thee; or else three days the sword of the LORD, even the pestilence, in the land, and the angel of the LORD destroying throughout all the coasts of Israel. Now therefore advise thyself what word I shall bring again to him that sent me. And David said unto Gad, I am in a great strait: let me fall now into the hand of the LORD; for very great are his mercies: but let me not fall into the hand of man. So the LORD sent pestilence upon Israel: and there fell of Israel seventy thousand men. And God sent an angel unto Jerusalem to destroy it: and as he was destroying, the LORD beheld, and he repented him of the evil, and said to the angel that destroyed, It is enough, stay now thine hand. And the angel of the LORD stood by the threshingfloor of Ornan the Jebusite. And David lifted up his eyes, and saw the angel of the LORD stand between the earth and the heaven, having a drawn sword in his hand stretched out over Jerusalem. Then David and the elders of Israel, who were clothed in sackcloth, fell upon their faces. And David said unto God, Is it not I that commanded the people to be numbered? even I it is that have sinned and done evil indeed; but as for these sheep, what have they done? let thine hand, I pray thee, O LORD my God, be on me, and on my father's house; but not on thy people, that they should be plagued. Then the angel of the LORD commanded Gad to say to David, that David should go up, and set up an altar unto the LORD in the threshingfloor of Ornan the Jebusite. And David went up at the saying of Gad, which he spake in the name of the LORD. And Ornan turned back, and saw the angel; and his four sons with him hid themselves. Now Ornan was threshing wheat. And as David came to Ornan, Ornan looked and saw David, and went out of the threshingfloor, and bowed himself to David with his face to the ground. Then David said to Ornan, Grant me the place of this threshingfloor, that I may build an altar therein unto the LORD: thou shalt grant it me for the full price: that the plague may be stayed from the people. And Ornan said unto David, Take it to thee, and let my lord the king do that which is good in his eyes: lo, I give thee the oxen also for burnt offerings, and the threshing instruments for wood, and the wheat for the meat offering; I give it all. And king David said to Ornan, Nay; but I will verily buy it for the full price: for I will not take that which is thine for the LORD, nor offer burnt offerings without cost. So David gave to Ornan for the place six hundred shekels of gold by weight. And David built there an altar unto the LORD, and offered burnt offerings and peace offerings, and called upon the LORD; and he answered him from heaven by fire upon the altar of burnt offering. And the LORD commanded the angel; and he put up his sword again into the sheath thereof. At that time when David saw that the LORD had answered him in the threshingfloor of Ornan the Jebusite, then he sacrificed there. For the tabernacle of the LORD, which Moses made in the wilderness, and the altar of the burnt offering, were at that season in the high place at Gibeon. But David could not go before it to enquire of God: for he was afraid because of the sword of the angel of the LORD.

1 Chronicles 21:1-30 New American Standard Bible - NASB 1995 (NASB1995)

Then Satan stood up against Israel and moved David to number Israel. So David said to Joab and to the princes of the people, “Go, number Israel from Beersheba even to Dan, and bring me word that I may know their number.” Joab said, “May the LORD add to His people a hundred times as many as they are! But, my lord the king, are they not all my lord’s servants? Why does my lord seek this thing? Why should he be a cause of guilt to Israel?” Nevertheless, the king’s word prevailed against Joab. Therefore, Joab departed and went throughout all Israel, and came to Jerusalem. Joab gave the number of the census of all the people to David. And all Israel were 1,100,000 men who drew the sword; and Judah was 470,000 men who drew the sword. But he did not number Levi and Benjamin among them, for the king’s command was abhorrent to Joab. God was displeased with this thing, so He struck Israel. David said to God, “I have sinned greatly, in that I have done this thing. But now, please take away the iniquity of Your servant, for I have done very foolishly.” The LORD spoke to Gad, David’s seer, saying, “Go and speak to David, saying, ‘Thus says the LORD, “I offer you three things; choose for yourself one of them, which I will do to you.” ’ ” So Gad came to David and said to him, “Thus says the LORD, ‘Take for yourself either three years of famine, or three months to be swept away before your foes, while the sword of your enemies overtakes you, or else three days of the sword of the LORD, even pestilence in the land, and the angel of the LORD destroying throughout all the territory of Israel.’ Now, therefore, consider what answer I shall return to Him who sent me.” David said to Gad, “I am in great distress; please let me fall into the hand of the LORD, for His mercies are very great. But do not let me fall into the hand of man.” So the LORD sent a pestilence on Israel; 70,000 men of Israel fell. And God sent an angel to Jerusalem to destroy it; but as he was about to destroy it, the LORD saw and was sorry over the calamity, and said to the destroying angel, “It is enough; now relax your hand.” And the angel of the LORD was standing by the threshing floor of Ornan the Jebusite. Then David lifted up his eyes and saw the angel of the LORD standing between earth and heaven, with his drawn sword in his hand stretched out over Jerusalem. Then David and the elders, covered with sackcloth, fell on their faces. David said to God, “Is it not I who commanded to count the people? Indeed, I am the one who has sinned and done very wickedly, but these sheep, what have they done? O LORD my God, please let Your hand be against me and my father’s household, but not against Your people that they should be plagued.” Then the angel of the LORD commanded Gad to say to David, that David should go up and build an altar to the LORD on the threshing floor of Ornan the Jebusite. So David went up at the word of Gad, which he spoke in the name of the LORD. Now Ornan turned back and saw the angel, and his four sons who were with him hid themselves. And Ornan was threshing wheat. As David came to Ornan, Ornan looked and saw David, and went out from the threshing floor and prostrated himself before David with his face to the ground. Then David said to Ornan, “Give me the site of this threshing floor, that I may build on it an altar to the LORD; for the full price you shall give it to me, that the plague may be restrained from the people.” Ornan said to David, “Take it for yourself; and let my lord the king do what is good in his sight. See, I will give the oxen for burnt offerings and the threshing sledges for wood and the wheat for the grain offering; I will give it all.” But King David said to Ornan, “No, but I will surely buy it for the full price; for I will not take what is yours for the LORD, or offer a burnt offering which costs me nothing.” So David gave Ornan 600 shekels of gold by weight for the site. Then David built an altar to the LORD there and offered burnt offerings and peace offerings. And he called to the LORD and He answered him with fire from heaven on the altar of burnt offering. The LORD commanded the angel, and he put his sword back in its sheath. At that time, when David saw that the LORD had answered him on the threshing floor of Ornan the Jebusite, he offered sacrifice there. For the tabernacle of the LORD, which Moses had made in the wilderness, and the altar of burnt offering were in the high place at Gibeon at that time. But David could not go before it to inquire of God, for he was terrified by the sword of the angel of the LORD.

1 Chronicles 21:1-30 New Century Version (NCV)

Satan was against Israel, and he caused David to count the people of Israel. So David said to Joab and the commanders of the troops, “Go and count all the Israelites from Beersheba to Dan. Then tell me so I will know how many there are.” But Joab said, “May the LORD give the nation a hundred times more people. My master the king, all the Israelites are your servants. Why do you want to do this, my master? You will make Israel guilty of sin.” But the king commanded Joab, so Joab left and went through all Israel. Then he returned to Jerusalem. Joab gave the list of the people to David. There were one million one hundred thousand men in all of Israel who could use the sword, and there were four hundred seventy thousand men in Judah who could use the sword. But Joab did not count the tribes of Levi and Benjamin, because he didn’t like King David’s order. David had done something God had said was wrong, so God punished Israel. Then David said to God, “I have sinned greatly by what I have done! Now, I beg you to forgive me, your servant, because I have been very foolish.” The LORD said to Gad, who was David’s seer, “Go and tell David, ‘This is what the LORD says: I offer you three choices. Choose one of them and I will do it.’ ” So Gad went to David and said to him, “This is what the LORD says: ‘Choose for yourself three years of hunger. Or choose three months of running from your enemies as they chase you with their swords. Or choose three days of punishment from the LORD, in which a terrible disease will spread through the country. The angel of the LORD will go through Israel destroying the people.’ Now, David, decide which of these things I should tell the LORD who sent me.” David said to Gad, “I am in great trouble. Let the LORD punish me, because the LORD is very merciful. Don’t let my punishment come from human beings.” So the LORD sent a terrible disease on Israel, and seventy thousand people died. God sent an angel to destroy Jerusalem, but when the angel started to destroy it, the LORD saw it and felt very sorry about the terrible things that had happened. So he said to the angel who was destroying, “That is enough! Put down your arm!” The angel of the LORD was then standing at the threshing floor of Araunah the Jebusite. David looked up and saw the angel of the LORD in the sky, holding his sword drawn and pointed at Jerusalem. Then David and the elders bowed facedown on the ground. They were wearing rough cloth to show their grief. David said to God, “I am the one who sinned and did wrong. I gave the order for the people to be counted. These people only followed me like sheep. They did nothing wrong. LORD my God, please punish me and my family, but stop the terrible disease that is killing your people.” Then the angel of the LORD told Gad to tell David that he should build an altar to the LORD on the threshing floor of Araunah the Jebusite. So David did what Gad told him to do, in the name of the LORD. Araunah was separating the wheat from the straw. When he turned around, he saw the angel. Araunah’s four sons who were with him hid. David came to Araunah, and when Araunah saw him, he left the threshing floor and bowed facedown on the ground before David. David said to him, “Sell me your threshing floor so I can build an altar to the LORD here. Then the terrible disease will stop. Sell it to me for the full price.” Araunah said to David, “Take this threshing floor. My master the king, do anything you want. Look, I will also give you oxen for the whole burnt offerings, the threshing boards for the wood, and wheat for the grain offering. I give everything to you.” But King David answered Araunah, “No, I will pay the full price for the land. I won’t take anything that is yours and give it to the LORD. I won’t offer a burnt offering that costs me nothing.” So David paid Araunah about fifteen pounds of gold for the place. David built an altar to the LORD there and offered whole burnt offerings and fellowship offerings. David prayed to the LORD, and he answered him by sending down fire from heaven on the altar of burnt offering. Then the LORD commanded the angel to put his sword back into its holder. When David saw that the LORD had answered him on the threshing floor of Araunah, he offered sacrifices there. The Holy Tent that Moses made while the Israelites were in the desert and the altar of burnt offerings were in Gibeon at the place of worship. But David could not go to the Holy Tent to speak with God, because he was afraid of the angel of the LORD and his sword.

1 Chronicles 21:1-30 American Standard Version (ASV)

And Satan stood up against Israel, and moved David to number Israel. And David said to Joab and to the princes of the people, Go, number Israel from Beer-sheba even to Dan; and bring me word, that I may know the sum of them. And Joab said, Jehovah make his people a hundred times as many as they are: but, my lord the king, are they not all my lord’s servants? why doth my lord require this thing? why will he be a cause of guilt unto Israel? Nevertheless the king’s word prevailed against Joab. Wherefore Joab departed, and went throughout all Israel, and came to Jerusalem. And Joab gave up the sum of the numbering of the people unto David. And all they of Israel were a thousand thousand and a hundred thousand men that drew sword: and Judah was four hundred threescore and ten thousand men that drew sword. But Levi and Benjamin counted he not among them; for the king’s word was abominable to Joab. And God was displeased with this thing; therefore he smote Israel. And David said unto God, I have sinned greatly, in that I have done this thing: but now, put away, I beseech thee, the iniquity of thy servant; for I have done very foolishly. And Jehovah spake unto Gad, David’s seer, saying, Go and speak unto David, saying, Thus saith Jehovah, I offer thee three things: choose thee one of them, that I may do it unto thee. So Gad came to David, and said unto him, Thus saith Jehovah, Take which thou wilt: either three years of famine; or three months to be consumed before thy foes, while the sword of thine enemies overtaketh thee; or else three days the sword of Jehovah, even pestilence in the land, and the angel of Jehovah destroying throughout all the borders of Israel. Now therefore consider what answer I shall return to him that sent me. And David said unto Gad, I am in a great strait: let me fall, I pray, into the hand of Jehovah; for very great are his mercies: and let me not fall into the hand of man. So Jehovah sent a pestilence upon Israel; and there fell of Israel seventy thousand men. And God sent an angel unto Jerusalem to destroy it: and as he was about to destroy, Jehovah beheld, and he repented him of the evil, and said to the destroying angel, It is enough; now stay thy hand. And the angel of Jehovah was standing by the threshing-floor of Ornan the Jebusite. And David lifted up his eyes, and saw the angel of Jehovah standing between earth and heaven, having a drawn sword in his hand stretched out over Jerusalem. Then David and the elders, clothed in sackcloth, fell upon their faces. And David said unto God, Is it not I that commanded the people to be numbered? even I it is that have sinned and done very wickedly; but these sheep, what have they done? let thy hand, I pray thee, O Jehovah my God, be against me, and against my father’s house; but not against thy people, that they should be plagued. Then the angel of Jehovah commanded Gad to say to David, that David should go up, and rear an altar unto Jehovah in the threshing-floor of Ornan the Jebusite. And David went up at the saying of Gad, which he spake in the name of Jehovah. And Ornan turned back, and saw the angel; and his four sons that were with him hid themselves. Now Ornan was threshing wheat. And as 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. Then David said to Ornan, Give me the place of this threshing-floor, that I may build thereon an altar unto Jehovah: for the full price shalt thou give it me, that the plague may be stayed from the people. And Ornan said unto David, Take it to thee, and let my lord the king do that which is good in his eyes: lo, I give thee the oxen for burnt-offerings, and the threshing instruments for wood, and the wheat for the meal-offering; I give it all. And king David said to Ornan, Nay; but I will verily buy it for the full price: for I will not take that which is thine for Jehovah, nor offer a burnt-offering without cost. So David gave to Ornan for the place six hundred shekels of gold by weight. And David built there an altar unto Jehovah, and offered burnt-offerings and peace-offerings, and called upon Jehovah; and he answered him from heaven by fire upon the altar of burnt-offering. And Jehovah commanded the angel; and he put up his sword again into the sheath thereof. At that time, when David saw that Jehovah had answered him in the threshing-floor of Ornan the Jebusite, then he sacrificed there. For the tabernacle of Jehovah, which Moses made in the wilderness, and the altar of burnt-offering, were at that time in the high place at Gibeon. But David could not go before it to inquire of God; for he was afraid because of the sword of the angel of Jehovah.

1 Chronicles 21:1-30 New International Version (NIV)

Satan rose up against Israel and incited David to take a census of Israel. So David said to Joab and the commanders of the troops, “Go and count the Israelites from Beersheba to Dan. Then report back to me so that I may know how many there are.” But Joab replied, “May the LORD multiply his troops a hundred times over. My lord the king, are they not all my lord’s subjects? Why does my lord want to do this? Why should he bring guilt on Israel?” The king’s word, however, overruled Joab; so Joab left and went throughout Israel and then came back to Jerusalem. Joab reported the number of the fighting men to David: In all Israel there were one million one hundred thousand men who could handle a sword, including four hundred and seventy thousand in Judah. But Joab did not include Levi and Benjamin in the numbering, because the king’s command was repulsive to him. This command was also evil in the sight of God; so he punished Israel. Then David said to God, “I have sinned greatly by doing this. Now, I beg you, take away the guilt of your servant. I have done a very foolish thing.” The LORD said to Gad, David’s seer, “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.’ ” So Gad went to David and said to him, “This is what the LORD says: ‘Take your choice: three years of famine, three months of being swept away before your enemies, with their swords overtaking you, or three days of the sword of the LORD—days of plague in the land, with the angel of the LORD ravaging every part of Israel.’ Now then, decide how I should answer the one who sent me.” David said to Gad, “I am in deep distress. Let me fall into the hands of the LORD, for his mercy is very great; but do not let me fall into human hands.” So the LORD sent a plague on Israel, and seventy thousand men of Israel fell dead. And God sent an angel to destroy Jerusalem. But as the angel was doing so, the LORD saw it and relented concerning the disaster and said to the angel who was destroying the people, “Enough! Withdraw your hand.” The angel of the LORD was then standing at the threshing floor of Araunah the Jebusite. David looked up and saw the angel of the LORD standing between heaven and earth, with a drawn sword in his hand extended over Jerusalem. Then David and the elders, clothed in sackcloth, fell facedown. David said to God, “Was it not I who ordered the fighting men to be counted? I, the shepherd, have sinned and done wrong. These are but sheep. What have they done? LORD my God, let your hand fall on me and my family, but do not let this plague remain on your people.” Then the angel of the LORD ordered Gad to tell David to go up and build an altar to the LORD on the threshing floor of Araunah the Jebusite. So David went up in obedience to the word that Gad had spoken in the name of the LORD. While Araunah was threshing wheat, he turned and saw the angel; his four sons who were with him hid themselves. Then David approached, and when Araunah looked and saw him, he left the threshing floor and bowed down before David with his face to the ground. David said to him, “Let me have the site of your threshing floor so I can build an altar to the LORD, that the plague on the people may be stopped. Sell it to me at the full price.” Araunah said to David, “Take it! Let my lord the king do whatever pleases him. Look, I will give the oxen for the burnt offerings, the threshing sledges for the wood, and the wheat for the grain offering. I will give all this.” But King David replied to Araunah, “No, I insist on paying the full price. I will not take for the LORD what is yours, or sacrifice a burnt offering that costs me nothing.” So David paid Araunah six hundred shekels of gold for the site. David built an altar to the LORD there and sacrificed burnt offerings and fellowship offerings. He called on the LORD, and the LORD answered him with fire from heaven on the altar of burnt offering. Then the LORD spoke to the angel, and he put his sword back into its sheath. At that time, when David saw that the LORD had answered him on the threshing floor of Araunah the Jebusite, he offered sacrifices there. The tabernacle of the LORD, which Moses had made in the wilderness, and the altar of burnt offering were at that time on the high place at Gibeon. But David could not go before it to inquire of God, because he was afraid of the sword of the angel of the LORD.

1 Chronicles 21:1-30 New King James Version (NKJV)

Now Satan stood up against Israel, and moved David to number Israel. So David said to Joab and to the leaders of the people, “Go, number Israel from Beersheba to Dan, and bring the number of them to me that I may know it.” And Joab answered, “May the LORD make His people a hundred times more than they are. But, my lord the king, are they not all my lord’s servants? Why then does my lord require this thing? Why should he be a cause of guilt in Israel?” Nevertheless the king’s word prevailed against Joab. Therefore Joab departed and went throughout all Israel and came to Jerusalem. Then Joab gave the sum of the number of the people to David. All Israel had one million one hundred thousand men who drew the sword, and Judah had four hundred and seventy thousand men who drew the sword. But he did not count Levi and Benjamin among them, for the king’s word was abominable to Joab. And God was displeased with this thing; therefore He struck Israel. So David said to God, “I have sinned greatly, because I have done this thing; but now, I pray, take away the iniquity of Your servant, for I have done very foolishly.” Then the LORD spoke to Gad, David’s seer, saying, “Go and tell David, saying, ‘Thus says the LORD: “I offer you three things; choose one of them for yourself, that I may do it to you.” ’ ” So Gad came to David and said to him, “Thus says the LORD: ‘Choose for yourself, either three years of famine, or three months to be defeated by your foes with the sword of your enemies overtaking you, or else for three days the sword of the LORD—the plague in the land, with the angel of the LORD destroying throughout all the territory of Israel.’ Now consider what answer I should take back to Him who sent me.” And David said to Gad, “I am in great distress. Please let me fall into the hand of the LORD, for His mercies are very great; but do not let me fall into the hand of man.” So the LORD sent a plague upon Israel, and seventy thousand men of Israel fell. And God sent an angel to Jerusalem to destroy it. As he was destroying, the LORD looked and relented of the disaster, and said to the angel who was destroying, “It is enough; now restrain your hand.” And the angel of the LORD stood by the threshing floor of Ornan the Jebusite. Then David lifted his eyes and saw the angel of the LORD standing between earth and heaven, having in his hand a drawn sword stretched out over Jerusalem. So David and the elders, clothed in sackcloth, fell on their faces. And David said to God, “Was it not I who commanded the people to be numbered? I am the one who has sinned and done evil indeed; but these sheep, what have they done? Let Your hand, I pray, O LORD my God, be against me and my father’s house, but not against Your people that they should be plagued.” Therefore, the angel of the LORD commanded Gad to say to David that David should go and erect an altar to the LORD on the threshing floor of Ornan the Jebusite. So David went up at the word of Gad, which he had spoken in the name of the LORD. Now Ornan turned and saw the angel; and his four sons who were with him hid themselves, but Ornan continued threshing wheat. So David came to Ornan, and Ornan looked and saw David. And he went out from the threshing floor, and bowed before David with his face to the ground. Then David said to Ornan, “Grant me the place of this threshing floor, that I may build an altar on it to the LORD. You shall grant it to me at the full price, that the plague may be withdrawn from the people.” But Ornan said to David, “Take it to yourself, and let my lord the king do what is good in his eyes. Look, I also give you the oxen for burnt offerings, the threshing implements for wood, and the wheat for the grain offering; I give it all.” Then King David said to Ornan, “No, but I will surely buy it for the full price, for I will not take what is yours for the LORD, nor offer burnt offerings with that which costs me nothing.” So David gave Ornan six hundred shekels of gold by weight for the place. And David built there an altar to the LORD, and offered burnt offerings and peace offerings, and called on the LORD; and He answered him from heaven by fire on the altar of burnt offering. So the LORD commanded the angel, and he returned his sword to its sheath. At that time, when David saw that the LORD had answered him on the threshing floor of Ornan the Jebusite, he sacrificed there. For the tabernacle of the LORD and the altar of the burnt offering, which Moses had made in the wilderness, were at that time at the high place in Gibeon. But David could not go before it to inquire of God, for he was afraid of the sword of the angel of the LORD.

1 Chronicles 21:1-30 Amplified Bible (AMP)

Satan [the adversary] stood up against Israel and incited David to count [the population of] Israel. So David said to Joab and the leaders of the people, “Go, count Israel from Beersheba to Dan, and bring me their total, so that I may know it.” Joab said, “May the LORD add to His people a hundred times as many as they are! But, my lord the king, are they not all my lord’s servants? Why then does my lord require this? Why will he bring guilt on Israel?” But the king’s word prevailed over Joab. So Joab left and went throughout all Israel and came to Jerusalem. Then Joab gave the total of the census of the people to David. And all Israel were 1,100,000 men who drew the sword; and in Judah 470,000 men who drew the sword. But he did not count Levi and Benjamin among them, because the king’s order was detestable to Joab. Now God was displeased with this act [of arrogance and pride], and He struck Israel. Then David said to God, “I have sinned greatly because I have done this thing. But now, I beseech You, take away the wickedness and guilt of Your servant, for I have acted very foolishly.” And the LORD said to Gad, David’s seer, “Go and tell David, saying, ‘Thus says the LORD, “I offer you three choices; choose for yourself one of them, which I will do to you [as punishment for your sin].” ’ ” So Gad came to David and said to him, “Thus says the LORD: ‘Choose for yourself either three years of famine, or three months to be swept away before your enemies, while the sword of your enemies overtakes you, or else three days of the sword of the LORD and plague in the land, and the angel of the LORD bringing destruction throughout all the territory of Israel.’ Now therefore, consider what answer I shall return to Him who sent me.” David said to Gad, “I am in great distress; please let me fall into the hands of the LORD, for His mercies are very great; but do not let me fall into the hand of man.” So the LORD sent a plague on Israel, and 70,000 men of Israel fell. God sent an angel to Jerusalem to destroy it; and as he was destroying it, the LORD looked, and relented concerning the catastrophe and said to the destroying angel, “It is enough; now remove your hand [of judgment].” And the angel of the LORD was standing by the threshing floor of Ornan the Jebusite. Then David raised his eyes and saw the angel of the LORD standing between earth and heaven, having a drawn sword in his hand stretched out over Jerusalem. Then David and the elders, covered in sackcloth, fell on their faces. David said to God, “Is it not I who commanded the people to be counted? I am the one who has sinned and done evil; but as for these sheep [the people of Israel], what have they done? O LORD my God, please let Your hand be against me and my father’s house, but not against Your people that they should be plagued.” Then the angel of the LORD commanded Gad to say to David, that David should go up and build an altar to the LORD on the threshing floor of Ornan the Jebusite. So David went up at Gad’s word, which he spoke in the name of the LORD. Now Ornan was threshing wheat, and he turned back and saw the angel; and his four sons who were with him hid themselves. As David came to Ornan, Ornan looked and saw him, and went out from the threshing floor and bowed down before David with his face to the ground. Then David said to Ornan, “Give me the site of this threshing floor, so that I may build an altar on it to the LORD. You shall charge me the full price for it, so that the plague may be averted from the people.” Ornan said to David, “Take it for yourself; and let my lord the king do what is good in his eyes. See, I will give you the oxen also for burnt offerings and the threshing sledges (heavy wooden platforms) for wood and the wheat for the grain offering; I give it all.” But King David said to Ornan, “No, I will certainly pay the full price; for I will not take what is yours for the LORD, nor offer a burnt offering which costs me nothing.” So David gave Ornan 600 shekels of gold by weight for the site. [2 Chr 3:1] Then David built an altar to the LORD there and presented burnt offerings and peace offerings. And he called on the LORD, and He answered him with fire from heaven on the altar of burnt offering. Then the LORD commanded the [avenging] angel, and he put his sword back into its sheath. At that time, when David saw that the LORD had answered him on the threshing floor of Ornan the Jebusite, he sacrificed there. For the tabernacle of the LORD, which Moses made in the wilderness, and the altar of burnt offering were at that time in the high place at Gibeon. But David could not go before it to inquire of God, for he was terrified by the sword of the angel of the LORD.

1 Chronicles 21:1-30 New Living Translation (NLT)

Satan rose up against Israel and caused David to take a census of the people of Israel. So David said to Joab and the commanders of the army, “Take a census of all the people of Israel—from Beersheba in the south to Dan in the north—and bring me a report so I may know how many there are.” But Joab replied, “May the LORD increase the number of his people a hundred times over! But why, my lord the king, do you want to do this? Are they not all your servants? Why must you cause Israel to sin?” But the king insisted that they take the census, so Joab traveled throughout all Israel to count the people. Then he returned to Jerusalem and reported the number of people to David. There were 1,100,000 warriors in all Israel who could handle a sword, and 470,000 in Judah. But Joab did not include the tribes of Levi and Benjamin in the census because he was so distressed at what the king had made him do. God was very displeased with the census, and he punished Israel for it. Then David said to God, “I have sinned greatly by taking this census. Please forgive my guilt for doing this foolish thing.” Then the LORD spoke to Gad, David’s seer. This was the message: “Go and say to David, ‘This is what the LORD says: I will give you three choices. Choose one of these punishments, and I will inflict it on you.’” So Gad came to David and said, “These are the choices the LORD has given you. You may choose three years of famine, three months of destruction by the sword of your enemies, or three days of severe plague as the angel of the LORD brings devastation throughout the land of Israel. Decide what answer I should give the LORD who sent me.” “I’m in a desperate situation!” David replied to Gad. “But let me fall into the hands of the LORD, for his mercy is very great. Do not let me fall into human hands.” So the LORD sent a plague upon Israel, and 70,000 people died as a result. And God sent an angel to destroy Jerusalem. But just as the angel was preparing to destroy it, the LORD relented and said to the death angel, “Stop! That is enough!” At that moment the angel of the LORD was standing by the threshing floor of Araunah the Jebusite. David looked up and saw the angel of the LORD standing between heaven and earth with his sword drawn, reaching out over Jerusalem. So David and the leaders of Israel put on burlap to show their deep distress and fell face down on the ground. And David said to God, “I am the one who called for the census! I am the one who has sinned and done wrong! But these people are as innocent as sheep—what have they done? O LORD my God, let your anger fall against me and my family, but do not destroy your people.” Then the angel of the LORD told Gad to instruct David to go up and build an altar to the LORD on the threshing floor of Araunah the Jebusite. So David went up to do what the LORD had commanded him through Gad. Araunah, who was busy threshing wheat at the time, turned and saw the angel there. His four sons, who were with him, ran away and hid. When Araunah saw David approaching, he left his threshing floor and bowed before David with his face to the ground. David said to Araunah, “Let me buy this threshing floor from you at its full price. Then I will build an altar to the LORD there, so that he will stop the plague.” “Take it, my lord the king, and use it as you wish,” Araunah said to David. “I will give the oxen for the burnt offerings, and the threshing boards for wood to build a fire on the altar, and the wheat for the grain offering. I will give it all to you.” But King David replied to Araunah, “No, I insist on buying it for the full price. I will not take what is yours and give it to the LORD. I will not present burnt offerings that have cost me nothing!” So David gave Araunah 600 pieces of gold in payment for the threshing floor. David built an altar there to the LORD and sacrificed burnt offerings and peace offerings. And when David prayed, the LORD answered him by sending fire from heaven to burn up the offering on the altar. Then the LORD spoke to the angel, who put the sword back into its sheath. When David saw that the LORD had answered his prayer, he offered sacrifices there at Araunah’s threshing floor. At that time the Tabernacle of the LORD and the altar of burnt offering that Moses had made in the wilderness were located at the place of worship in Gibeon. But David was not able to go there to inquire of God, because he was terrified by the drawn sword of the angel of the LORD.

1 Chronicles 21:1-30 English Standard Version 2016 (ESV)

Then Satan stood against Israel and incited David to number Israel. So David said to Joab and the commanders of the army, “Go, number Israel, from Beersheba to Dan, and bring me a report, that I may know their number.” But Joab said, “May the LORD add to his people a hundred times as many as they are! Are they not, my lord the king, all of them my lord’s servants? Why then should my lord require this? Why should it be a cause of guilt for Israel?” But the king’s word prevailed against Joab. So Joab departed and went throughout all Israel and came back to Jerusalem. And Joab gave the sum of the numbering of the people to David. In all Israel there were 1,100,000 men who drew the sword, and in Judah 470,000 who drew the sword. But he did not include Levi and Benjamin in the numbering, for the king’s command was abhorrent to Joab. But God was displeased with this thing, and he struck Israel. And David said to God, “I have sinned greatly in that I have done this thing. But now, please take away the iniquity of your servant, for I have acted very foolishly.” And the LORD spoke to Gad, David’s seer, saying, “Go and say to David, ‘Thus says the LORD, Three things I offer you; choose one of them, that I may do it to you.’” So Gad came to David and said to him, “Thus says the LORD, ‘Choose what you will: either three years of famine, or three months of devastation by your foes while the sword of your enemies overtakes you, or else three days of the sword of the LORD, pestilence on the land, with the angel of the LORD destroying throughout all the territory of Israel.’ Now decide what answer I shall return to him who sent me.” Then 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 do not let me fall into the hand of man.” So the LORD sent a pestilence on Israel, and 70,000 men of Israel fell. And God sent the angel to Jerusalem to destroy it, but as he was about to destroy it, the LORD saw, and he relented from the calamity. And he said to the angel who was working destruction, “It is enough; now stay your hand.” And the angel of the LORD was standing by the threshing floor of Ornan the Jebusite. And David lifted his eyes 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 upon their faces. And David said to God, “Was it not I who gave command to number the people? It is I who have sinned and done great evil. But these sheep, what have they done? Please let your hand, O LORD my God, be against me and against my father’s house. But do not let the plague be on your people.” Now the angel of the LORD had commanded Gad to say to David that David should go up and raise an altar to the LORD on the threshing floor of Ornan the Jebusite. So David went up at Gad’s word, which he had spoken in the name of the LORD. Now Ornan was threshing wheat. He turned and saw the angel, and his four sons who were with him hid themselves. As David came to Ornan, Ornan looked and saw David and went out from the threshing floor and paid homage to David with his face to the ground. And David said to Ornan, “Give me the site of the threshing floor that I may build on it an altar to the LORD—give it to me at its full price—that the plague may be averted from the people.” Then Ornan said to David, “Take it, and let my lord the king do what seems good to him. See, I give the oxen for burnt offerings and the threshing sledges for the wood and the wheat for a grain offering; I give it all.” But King David said to Ornan, “No, but 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.” So David paid Ornan 600 shekels of gold by weight for the site. And David built there an altar to the LORD and presented burnt offerings and peace offerings and called on the LORD, and the LORD answered him with fire from heaven upon the altar of burnt offering. Then the LORD commanded the angel, and he put his sword back into its sheath. At that time, when David saw that the LORD had answered him at the threshing floor of Ornan the Jebusite, he sacrificed there. For 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, but David could not go before it to inquire of God, for he was afraid of the sword of the angel of the LORD.