Deuteronomy 20:9

And so it shall be, when the officers have finished speaking to the people, that they shall make captains of the armies to lead the people.