23David did not count the men aged twenty or under, because the LORD had said that He would make Israel as numerous as the stars of the sky.
24Joab son of Zeruiah began to count the men but did not finish. For because of this census wrath came upon Israel, and the number was not entered in the Book of the Chronicles of King David.
— 1 Chronicles 27:23-24