2 Samuel 24:4-13
English Standard Version
Chapter 24
4But 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. 5They crossed the Jordan and began from Aroer, and from the city that is in the middle of the valley, toward Gad and on to Jazer. 6Then they came to Gilead, and to Kadesh in the land of the Hittites; and they came to Dan, and from Dan they went around to Sidon, 7and 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. 8So when they had gone through all the land, they came to Jerusalem at the end of nine months and twenty days. 9And 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.
10But 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."
11And 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 you. Choose one of them, that I may do it to you.’"
13So Gad came to David and told him, and said to him, "Shall three 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."