7 They went to the fortress of Tyre and to all the towns of the Hivites and the Canaanites. They went out to Beer-sheba in the arid southern plain of Judah.
8 At the end of nine months and twenty days, after going through the entire country, they came back to Jerusalem.
9 Joab reported to the king the number of the people who had been counted: in Israel there were eight hundred thousand strong men who could handle a sword; in Judah the total was five hundred thousand men.
10 But after this David felt terrible that he had counted the people. David said to the Lord, "I have sinned greatly in what I have done. Now, Lord, please take away the guilt of your servant because I have done something very foolish."
11 When David got up the next morning, the Lord’s word came to the prophet Gad, David’s seer:
12 Go and tell David, This is what the Lord says: I’m offering you three punishments. Choose one of them, and that is what I will do to you.
13 So Gad went to David and said to him, "Will three years of famine come on your land? Or will you run from your enemies for three months while they chase you? Or will there be three days of plague in your land? Decide now what answer I should take back to the one who sent me."