“And Joshua rose up early in the morning, and numbered the people, and went up, he and the elders of Israel, before the people to Ai.”
King James Version (KJV)
8:10 The people - Heb. that people, not all the people of Israel; which was needless, and required more time than could now be spared; but the rest of that host of thirty thousand, whereof five thousand were sent away; the remainder are numbered, to see whether some of them had not withdrawn themselves, taking the advantage of the night, and of the design of laying an ambush; and that it might be evident, this work was done without any loss of men, whereby they might be encouraged to trust in God, and to proceed resolutely in their work. The elders of Israel - The chief magistrates and rulers of Israel under Joshua; and these, I suppose, went with Joshua, and with the army, to take care that the cattle and the spoil of the city, which was given by God to all Israel for a prey, ver.#2|, 27, might be justly and equally divided between those that went to battle, and the rest of the people.