1 Chronicles 21:5-11 New American Standard Bible (NASB)

5. Joab gave the number of the census of all the people to David. And all Israel were 1,100,000 men who drew the sword; and Judah was 470,000 men who drew the sword.

6. But he did not number Levi and Benjamin among them, for the king's command was abhorrent to Joab.

7. God was displeased with this thing, so He struck Israel.

8. David said to God, "I have sinned greatly, in that I have done this thing. But now, please take away the iniquity of Your servant, for I have done very foolishly."

9. The Lord spoke to Gad, David's seer, saying,

10. "Go and speak to David, saying, 'Thus says the Lord, "I offer you three things; choose for yourself one of them, which I will do to you."'"

11. So Gad came to David and said to him, "Thus says the Lord, 'Take for yourself

1 Chronicles 21