2 Samuel 24 English Standard Version (ESV)
24 Again the anger of the Lord was kindled against Israel, and he incited David against them, saying, “Go, number Israel and Judah.” 2 So the king said to Joab, the commander of the army,[a] who was with him, “Go through all the tribes of Israel, from Dan to Beersheba, and number the people, that I may know the number of the people.” 3 But Joab said to the king, “May the Lord your God add to the people a hundred times as many as they are, while the eyes of my lord the king still see it, but why does my lord the king delight in this thing?” 4 But the king's word prevailed against Joab and the commanders of the army. So Joab and the commanders of the army went out from the presence of the king to number the people of Israel. 5 They crossed the Jordan and began from Aroer,[b] and from the city that is in the middle of the valley, toward Gad and on to Jazer. 6 Then they came to Gilead, and to Kadesh in the land of the Hittites;[c] and they came to Dan, and from Dan[d] they went around to Sidon, 7 and came to the fortress of Tyre and to all the cities of the Hivites and Canaanites; and they went out to the Negeb of Judah at Beersheba. 8 So when they had gone through all the land, they came to Jerusalem at the end of nine months and twenty days. 9 And Joab gave the sum of the numbering of the people to the king: in Israel there were 800,000 valiant men who drew the sword, and the men of Judah were 500,000.
The Lord's Judgment of David's Sin
10 But David's heart struck him after he had numbered the people. And David said to the Lord, “I have sinned greatly in what I have done. But now, O Lord, please take away the iniquity of your servant, for I have done very foolishly.” 11 And when David arose in the morning, the word of the Lord came to the prophet Gad, David's seer, saying, 12 “Go and say to David, ‘Thus says the Lord, Three things I offer[e] you. Choose one of them, that I may do it to you.’” 13 So Gad came to David and told him, and said to him, “Shall three[f] years of famine come to you in your land? Or will you flee three months before your foes while they pursue you? Or shall there be three days' pestilence in your land? Now consider, and decide what answer I shall return to him who sent me.” 14 Then David said to Gad, “I am in great distress. Let us fall into the hand of the Lord, for his mercy is great; but let me not fall into the hand of man.”
15 So the Lord sent a pestilence on Israel from the morning until the appointed time. And there died of the people from Dan to Beersheba 70,000 men. 16 And when the angel stretched out his hand toward Jerusalem to destroy it, the Lord relented from the calamity and said to the angel who was working destruction among the people, “It is enough; now stay your hand.” And the angel of the Lord was by the threshing floor of Araunah the Jebusite. 17 Then David spoke to the Lord when he saw the angel who was striking the people, and said, “Behold, I have sinned, and I have done wickedly. But these sheep, what have they done? Please let your hand be against me and against my father's house.”
David Builds an Altar
18 And Gad came that day to David and said to him, “Go up, raise an altar to the Lord on the threshing floor of Araunah the Jebusite.” 19 So David went up at Gad's word, as the Lord commanded. 20 And when Araunah looked down, he saw the king and his servants coming on toward him. And Araunah went out and paid homage to the king with his face to the ground. 21 And Araunah said, “Why has my lord the king come to his servant?” David said, “To buy the threshing floor from you, in order to build an altar to the Lord, that the plague may be averted from the people.” 22 Then Araunah said to David, “Let my lord the king take and offer up what seems good to him. Here are the oxen for the burnt offering and the threshing sledges and the yokes of the oxen for the wood. 23 All this, O king, Araunah gives to the king.” And Araunah said to the king, “May the Lord your God accept you.” 24 But the king said to Araunah, “No, but I will buy it from you for a price. I will not offer burnt offerings to the Lord my God that cost me nothing.” So David bought the threshing floor and the oxen for fifty shekels[g] of silver. 25 And David built there an altar to the Lord and offered burnt offerings and peace offerings. So the Lord responded to the plea for the land, and the plague was averted from Israel.
2 Samuel 24 New International Version (NIV)
David Enrolls the Fighting Men
24 Again the anger of the Lord burned against Israel, and he incited David against them, saying, “Go and take a census of Israel and Judah.”
2 So the king said to Joab and the army commanders[a] with him, “Go throughout the tribes of Israel from Dan to Beersheba and enroll the fighting men, so that I may know how many there are.”
3 But Joab replied to the king, “May the Lord your God multiply the troops a hundred times over, and may the eyes of my lord the king see it. But why does my lord the king want to do such a thing?”
4 The king’s word, however, overruled Joab and the army commanders; so they left the presence of the king to enroll the fighting men of Israel.
5 After crossing the Jordan, they camped near Aroer, south of the town in the gorge, and then went through Gad and on to Jazer. 6 They went to Gilead and the region of Tahtim Hodshi, and on to Dan Jaan and around toward Sidon. 7 Then they went toward the fortress of Tyre and all the towns of the Hivites and Canaanites. Finally, they went on to Beersheba in the Negev of Judah.
8 After they had gone through the entire land, they came back to Jerusalem at the end of nine months and twenty days.
9 Joab reported the number of the fighting men to the king: In Israel there were eight hundred thousand able-bodied men who could handle a sword, and in Judah five hundred thousand.
10 David was conscience-stricken after he had counted the fighting men, and he said to the Lord, “I have sinned greatly in what I have done. Now, Lord, I beg you, take away the guilt of your servant. I have done a very foolish thing.”
11 Before David got up the next morning, the word of the Lord had come to Gad the prophet, David’s seer: 12 “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.’”
13 So Gad went to David and said to him, “Shall there come on you three[b] years of famine in your land? Or three months of fleeing from your enemies while they pursue you? Or three days of plague in your land? Now then, think it over and decide how I should answer the one who sent me.”
14 David said to Gad, “I am in deep distress. Let us fall into the hands of the Lord, for his mercy is great; but do not let me fall into human hands.”
15 So the Lord sent a plague on Israel from that morning until the end of the time designated, and seventy thousand of the people from Dan to Beersheba died. 16 When the angel stretched out his hand to destroy Jerusalem, the Lord relented concerning the disaster and said to the angel who was afflicting the people, “Enough! Withdraw your hand.” The angel of the Lord was then at the threshing floor of Araunah the Jebusite.
17 When David saw the angel who was striking down the people, he said to the Lord, “I have sinned; I, the shepherd,[c] have done wrong. These are but sheep. What have they done? Let your hand fall on me and my family.”
David Builds an Altar
18 On that day Gad went to David and said to him, “Go up and build an altar to the Lord on the threshing floor of Araunah the Jebusite.” 19 So David went up, as the Lord had commanded through Gad. 20 When Araunah looked and saw the king and his officials coming toward him, he went out and bowed down before the king with his face to the ground.
21 Araunah said, “Why has my lord the king come to his servant?”
“To buy your threshing floor,” David answered, “so I can build an altar to the Lord, that the plague on the people may be stopped.”
22 Araunah said to David, “Let my lord the king take whatever he wishes and offer it up. Here are oxen for the burnt offering, and here are threshing sledges and ox yokes for the wood. 23 Your Majesty, Araunah[d] gives all this to the king.” Araunah also said to him, “May the Lord your God accept you.”
24 But the king replied to Araunah, “No, I insist on paying you for it. I will not sacrifice to the Lord my God burnt offerings that cost me nothing.”
So David bought the threshing floor and the oxen and paid fifty shekels[e] of silver for them. 25 David built an altar to the Lord there and sacrificed burnt offerings and fellowship offerings. Then the Lord answered his prayer in behalf of the land, and the plague on Israel was stopped.