1 Chronicles 21:1-6

1 Hasatan stood up against Yisra'el, and moved David to number Yisra'el.
2 David said to Yo'av and to the princes of the people, Go, number Yisra'el from Be'er-Sheva even to Dan; and bring me word, that I may know the sum of them.
3 Yo'av said, the LORD make his people a hundred times as many as they are: but, my lord the king, aren't they all my lord's servants? why does my lord require this thing? why will he be a cause of guilt to Yisra'el?
4 Nevertheless the king's word prevailed against Yo'av. Therefore Yo'av departed, and went throughout all Yisra'el, and came to Yerushalayim.
5 Yo'av gave up the sum of the numbering of the people to David. All those of Yisra'el were one million one hundred thousand men who drew sword: and in Yehudah were four hundred seventy thousand men who drew sword.
6 But he didn't count Levi and Binyamin among them; for the king's word was abominable to Yo'av.
The Hebrew Names Version is in the public domain.