7 and came to the stronghold of Tyre, and to all the cities of the Hivites, and of the Canaanites; and they went out to the south of Judah, at Beersheba.
8 So when they had gone back and forth through all the land, they came to Jerusalem at the end of nine months and twenty days.
9 Joab gave up the sum of the counting of the people to the king: and there were in Israel eight hundred thousand valiant men who drew the sword; and the men of Judah were five hundred thousand men.
10 David’s heart struck him after he had counted the people. David said to the Lord, “I have sinned greatly in that which I have done. But now, the Lord, put away, I beg you, the iniquity of your servant; for I have done very foolishly.”
11 When David rose up in the morning, the Lord’s word came to the prophet Gad, David’s seer, saying,
12 “Go and speak to David, ‘the Lord says, “I offer you three things. 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 seven 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 answer, and consider what answer I shall return to him who sent me.”