Deuteronomy 20:9

Amplified Bible (AMP)
And it shall be when the officers have finished speaking to the soldiers, they shall appoint commanders of armies over them.

Read Deuteronomy 20:9 in other translations