1 Chronicles 27:24

24 Joab the son of Zeruiah began to number, but he finished not, because there fell wrath for it against Israel; neither was the number put in the account of the chronicles of king David.

1 Chronicles 27:24 In-Context

22 Of Dan, Azareel the son of Jeroham. These were the princes of the tribes of Israel.
23 But David took not the number of them from twenty years old and under: because the LORD had said he would increase Israel like to the stars of the heavens.
24 Joab the son of Zeruiah began to number, but he finished not, because there fell wrath for it against Israel; neither was the number put in the account of the chronicles of king David.
25 And over the king's treasures was Azmaveth the son of Adiel: and over the storehouses in the fields, in the cities, and in the villages, and in the castles, was Jehonathan the son of Uzziah:
26 And over them that did the work of the field for tillage of the ground was Ezri the son of Chelub:
The King James Version is in the public domain.