Deuteronomy 20:9

Leeser(i) 9 And it shall be, when the officers have made an end of speaking unto the people, that they shall appoint captains of the armies at the head of the people.