1 Chronicles 21:1-9

1 And Satan stood up against Israel, and moved David to number Israel.
2 And David said to Joab and to the princes of the people, Go, number Israel from Beer-sheba even to Dan; and bring me word, that I may know the sum of them.
3 And Joab said, Jehovah make his people a hundred times as many as they are: but, my lord the king, are they not all my lord's servants? why doth my lord require this thing? why will he be a cause of guilt unto Israel?
4 Nevertheless the king's word prevailed against Joab. Wherefore Joab departed, and went throughout all Israel, and came to Jerusalem.
5 And Joab gave up the sum of the numbering of the people unto David. And all they of Israel were a thousand thousand and a hundred thousand men that drew sword: and Judah was four hundred threescore and ten thousand men that drew sword.
6 But Levi and Benjamin counted he 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 unto God, I have sinned greatly, in that I have done this thing: but now, put away, I beseech thee, the iniquity of thy servant; for I have done very foolishly.
9 And Jehovah spake unto Gad, David's seer, saying,
California - Do Not Sell My Personal Information  California - CCPA Notice