1 Chronicles 21:5-8 (Webster)
5 And Joab gave the sum of the number of the people to David. And all they of Israel were a thousand thousand and a hundred thousand men that drew sword: and Judah was four hundred and seventy thousand men that drew sword.
6 But Levi and Benjamin he counted not among them: for the king's word was abominable to Joab.
7 And God was displeased with this thing, therefore he smote Israel.
8 And David said to God, I have sinned greatly, because I have done this thing: but now, I beseech thee, do away the iniquity of thy servant; for I have done very foolishly.
About 1 Chronicles 21: 1 Chronicles 21 sits in the later years of David’s reign. It follows his census of Israel, which was an act of pride. Satan stood up against Israel and provoked David to number the people in verse 1. Joab warned him this was dangerous, but the king insisted. The count showed trust in military strength rather than in God. This sin brought judgment on the whole nation. God sent Gad the prophet to offer David a choice of three punishments. The options were famine, defeat by enemies, or a pestilence from the Lord in verse 12. Read the study notes
4 verses · Compare in parallel · Read all of 1 Chronicles 21