וְלֵוִי֙ וּבִנְיָמִ֔ן לֹ֥א פָקַ֖ד בְּתוֹכָ֑ם כִּֽי־נִתְעַ֥ב דְּבַר־הַמֶּ֖לֶךְ אֶת־יוֹאָֽב׃
Entre estos no fueron contados los Levitas, ni los hijos de Benjamín, porque Joab abominaba el mandamiento del rey.
Rashi
But Levi and Benjamin he did not count among them, etc. Joab knew that it would be considered a sin for the people, leading to a plague; Joab therefore said, “I can save these tribes from the census. Concerning Levi, if David says: ‘Why did you not count Levi?’ I shall answer him that they were not counted among the Children of Israel (Num. 2:33). And this is what I shall say about Benjamin: ‘Weren’t they stricken in the episode of the concubine in Gibeah? If they are afflicted now, what will be left of them?’”