1 Chronicles 21:5-6 (WEB)
5 Joab gave the sum of the census of the people to David. All those of Israel were one million one hundred thousand men who drew a sword; and in Judah were four hundred seventy thousand men who drew a sword.
6 But he didn’t count Levi and Benjamin among them, for the king’s word was abominable to Joab.
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
2 verses · Compare in parallel · Read all of 1 Chronicles 21