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 presented the sum of the number of the people to the king: and there were in Israel eight hundred thousand valiant men that drew the sword; and the men of Judah were five hundred thousand men.
10. And David's heart smote him after that he had numbered the people. And David said to the LORD, I have sinned greatly in what I have done: and now, I beseech thee, O LORD, take away the iniquity of thy servant; for I have done very foolishly.
11. For when David had risen in the morning, the word of the LORD came to the prophet Gad, David's seer, saying,
12. Go and say to David, Thus saith the LORD, I offer thee three things; choose thee one of them, that I may do it to thee.