1 Chronicles 27:23

23 David did not take the number of the men twenty years old or less, because the LORD had promised to make Israel as numerous as the stars in the sky.

Read 1 Chronicles 27:23 Using Other Translations

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.
David did not count those below twenty years of age, for the LORD had promised to make Israel as many as the stars of heaven.
When David took his census, he did not count those who were younger than twenty years of age, because the LORD had promised to make the Israelites as numerous as the stars in heaven.

What does 1 Chronicles 27:23 mean?

John Gill's Exposition of the Bible
1 Chronicles 27:23

But David took not the number of them from twenty years old
and under
Only those that were twenty years and upwards; but, according to Cornelius Bertram F11, he numbered them that were under twenty, though but sixteen, seventeen, eighteen, or nineteen years of age, provided they were of robust bodies, and of a tall stature, and able to bear arms; which he takes to be the sin of David, in numbering the people, being contrary to the law of God; yet though he had ordered them to be numbered, and they were, yet he would not take them and put them into the account of his chronicles, as in the next verse, that his sin might not be known, see ( 2 Samuel 24:9 )

because the Lord had said, he would increase Israel like to the stars
in the heavens;
which are not to be numbered, and therefore David sinned in attempting to number the people.


FOOTNOTES:

F11 Lucubrat. Franktall, c. 2.
California - Do Not Sell My Personal Information  California - CCPA Notice