1 Chronicles 21:6

But Levi and Benjamin counted he not among them: for the king’s word was abominable to Joab.

Cross-reference

Numbers 1:47-49 commands the Levites be excluded from the census, mirroring Joab's omission of Levi and Benjamin here.

2 Samuel 24:9 directly parallels this census account but gives different numbers (800k Israel, 500k Judah), highlighting textual variation.