Ezra
1 Chronicles 21:5ESV·traditional attribution

And Joab gave the sum of the numbering of the people to David. In all Israel there were 1,100,000 men who drew the sword, and in Judah 470,000 who drew the sword.

Matthew Henry Presbyterian @wholebiblehenry

Numbering the people, one would think, was no bad thing. Why should not the shepherd know the number of his flock? But God sees not as man sees. It is plain it was wrong in David to do it, and a great provocation to God, because he did it in the pride of his heart; and there is no sin that has in it more...

Commenting on 1 Chronicles 21:1-6

Jamieson-Fausset-Brown Reformed @jfbcommentary

Joab gave the sum of the number of the children of Israel--It amounted to one million one hundred thousand men in Israel, capable of bearing arms, inclusive of the three hundred thousand military (Ch1 27:1-9), which, being already enlisted in the royal service, were not reckoned (Sa2 24:9), and to four hundred seventy thousand men in Judah, omitting thirty thousand which formed an army of...

Geneva Bible Notes Reformed @genevanotes

And Joab gave the sum of the number of the people unto David. And all [they of] Israel were a thousand thousand and an hundred thousand men that drew sword: and Judah [was] four hundred threescore and ten thousand men that drew sword. (d) Joab partly for grief and partly through negligence gathered not the whole sum as it is here declared.