2 Samuel 24:9

9And Joab gave the sum of the numbering of the people to the king: in Israel there were 800,000 valiant men awho drew the sword, and the men of Judah were 500,000.

1 Chronicles 27:23

23David did not count those below twenty years of age, for the bLord had promised to make Israel as many as the stars of heaven.
Copyright information for ESV