2 Samuel 24:9-13 Holman Christian Standard Bible (HCSB)

9. Joab gave the king the total of the registration of the troops. There were 800,000 fighting men from Israel and 500,000 men from Judah.

10. David’s conscience troubled him after he had taken a census of the troops. He said to the Lord, “I have sinned greatly in what I’ve done. Now, Lord, because I’ve been very foolish, please take away Your servant’s guilt.”

11. When David got up in the morning, a revelation from the Lord had come to the prophet Gad, David’s seer:

12. “Go and say to David, ‘This is what the Lord says: I am offering you three choices. Choose one of them, and I will do it to you.’ ”

13. So Gad went to David, told him the choices, and asked him, “Do you want three years of famine to come on your land, to flee from your foes three months while they pursue you, or to have a plague in your land three days? Now, think it over and decide what answer I should take back to the One who sent me.”

2 Samuel 24