Deuteronomy 20:9
When the officers have finished addressing the army, they are to appoint commanders to lead it.
Berean Standard Bible
And it shall be, when the officers have made an end of speaking unto the people, that they shall make captains of the armies to lead the people.
It shall be, when the officers have finished speaking to the people, that they shall appoint captains of armies at the head of the people.