9 And Joab reported to the king the total number of the troops. In Israel there were 800,000 men of valor who drew the sword, and in Judah there were 500,000.
2 Samuel 24:9 Cross References - BSB
Numbers 1:44-46
44 These were the men numbered by Moses and Aaron, with the assistance of the twelve leaders of Israel, each one representing his family.
45 So all the Israelites twenty years of age or older who could serve in Israel’s army were counted according to their families.
46 And all those counted totaled 603,550.
1 Chronicles 21:5-6
1 Chronicles 27:23-24
23 David 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.
24 Joab 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.