David Takes a Census
1Satan rose up against Israel and caused David to take a census of the people of Israel. 2So 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.”
3But 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?”
4But the king insisted that they take the census, so Joab traveled throughout all Israel to count the people. Then he returned to Jerusalem 5and 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. 6But 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.
Judgment for David’s Sin
7God was very displeased with the census, and he punished Israel for it. 8Then David said to God, “I have sinned greatly by taking this census. Please forgive my guilt for doing this foolish thing.”
9Then the lord spoke to Gad, David’s seer. This was the message: 10“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.’”
11So Gad came to David and said, “These are the choices the lord has given you. 12You 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.”
13“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.”
14So the lord sent a plague upon Israel, and 70,000 people died as a result. 15And 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#  As in parallel text at 2 Sam 24:16; Hebrew reads Ornan, another name for Araunah; also in 21:18-28. the Jebusite.
16David 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. 17And 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.”
David Builds an Altar
18Then 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. 19So David went up to do what the lord had commanded him through Gad. 20Araunah, 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. 21When Araunah saw David approaching, he left his threshing floor and bowed before David with his face to the ground.
22David 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.”
23“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.”
24But 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!” 25So David gave Araunah 600 pieces of gold#  Hebrew 600 shekels of gold, about 15 pounds or 6.8 kilograms in weight. in payment for the threshing floor.
26David 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. 27Then the lord spoke to the angel, who put the sword back into its sheath.
28When David saw that the lord had answered his prayer, he offered sacrifices there at Araunah’s threshing floor. 29At 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. 30But 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.
Loading reference in secondary version...

Holy Bible, New Living Translation copyright 1996, 2004, 2007 by Tyndale House Foundation. Used by permission of Tyndale House Publishers, Inc., Carol Stream, Illinois, 60188. All rights reserved.