\v 1 Satan decided to cause the Israelite people to have trouble. So he incited David to find out how many men in Israel were able to be in the army.
\p
\v 2 So David commanded Joab and the other army commanders, "Count all the men in Israel who are able to be in the army. Start at Beersheba n the south and go all the way to Dan in the north. Then come back and report to me, in order that I may know how many men there are."
\p
\v 3 But Joab replied, "Your Majesty, I hope that Yahweh will make our army a hundred times larger than it is now. But we all serve you. So you should not commit this sin and make Israel suffer for it."
\s5
\p
\v 4 But David would not change his mind. So Joab and his soldiers went everywhere in Israel and in Judah, and counted the people. Then they returned to Jerusalem,
\v 5 and they reported to David that there were 1,100,000 men in Israel who could be in the army, and 470,000 in Judah.
\s5
\v 6 However, Joab did not count the men from the tribes of Levi and Benjamin, because he was disgusted with what the king had commanded.
\p
\v 7 David's command to count the people caused God to become angry, so he told David that he had decided to punish the people of Israel.
\v 8 Then David prayed to God. He said to him, "What I did was very foolish. I have sinned greatly by what I have done. So now I plead with you, please forgive me."
\s5
\p
\v 9 Then Yahweh said to Gad, David's prophet,
\v 10 "Go and tell this to David: 'I am allowing you to choose one of three things to punish you. I will do whichever one you choose.'~"
\s5
\p
\v 11 So Gad went to David and said to him, "This is what Yahweh says: 'You can choose one of these punishments:
\v 12 three years of famine in Israel, or three months during which your armies will run away from their enemies who will attack them with swords, or three days during which I will send my angel to cause many people in the country to die because of a plague.' So you must decide what I will say to answer Yahweh, the one who sent me."
\v 13 David replied to Gad, "I am very distressed. But allow Yahweh to punish me, because he is very merciful. Do not allow humans to punish me, because they will not be merciful."
\v 15 And God sent an angel to destroy the people in Jerusalem by the plague. But when the angel was standing at the ground where Ornan, from the Jebus people group, threshed grain, Yahweh saw all the suffering that the people had endured, and he was grieved. So he said to the angel, "Stop what you are doing! That is enough!"
\s5
\p
\v 16 David looked up and saw the angel whom Yahweh had sent, standing between the sky and the ground. The angel had a sword in his hand that was pointed toward Jerusalem. Then David and the elders of the city, who were wearing clothes made of rough sackcloth, prostrated themselves on the ground.
\v 17 David said to God, "I am the one who ordered the men who could be in the army to be counted. I am the one who has sinned and done what is very wrong, but these people are as innocent as sheep. They have certainly not done anything that is wrong. So Yahweh my God, punish me and my family, but do not allow this plague to continue to cause your people to become sick and die."
\v 18 Then the angel who was sent by Yahweh told Gad to go up to the place where Ornan threshed grain and tell David to build an altar to worship Yahweh there.
\v 20 While Ornan was threshing some wheat, he turned and saw the angel. His four sons who were with him also saw the angel, and they hid themselves.
\s5
\v 21 Then David approached. When Ornan saw him, he left the place where he was threshing grain and prostrated himself, with his face touching the ground.
\p
\v 22 David said to him, "Please sell me this place for threshing in order that I can build an altar here to worship Yahweh, in order that he will stop this plague. I will pay the full price."
\s5
\p
\v 23 Ornan replied, "Take it! Your Majesty, do whatever you want to. I will give you the oxen that thresh the grain for an offering to be completely burned on the altar. And I will give you the threshing boards to use as wood on the altar, and I will give you flour for a flour offering. I will give all those things to you."
\p
\v 24 But the king said to Ornan, "No, I will not take these things as a gift. I will pay you the full price for it. I will not take what belongs to you, and offer sacrifices that have cost me nothing and offer them to Yahweh to be completely burned on the altar."
\v 26 David built an altar to worship Yahweh there, and he offered sacrifices to be completely burned on the altar and sacrifices to restore fellowship with Yahweh. David prayed to Yahweh, and Yahweh answered by sending a fire from heaven to burn up the offerings on the altar.
\p
\v 27 Then Yahweh spoke to the angel, and told him to put his sword back into its sheath. So the angel did that.
\s5
\v 28 And when David saw that Yahweh had answered him there at the place where Ornan threshed grain and had ended the plague, he offered sacrifices there.
\v 29 Yahweh's sacred tent, which Moses had commanded to be set up in the wilderness, and the altar for burning sacrifices completely, were at that time on a hill at the city of Gibeon.
\v 30 But David did not want to go there to request God to tell him what he wanted David to do, because he was afraid that the angel sent from Yahweh might strike him with his sword; he realized that this was the place that Yahweh now wanted sacrifices to be made.