Deuteronomy 20:2

Then, as the battle now draws near, the priest shall stand before the front ranks, and he shall speak to the people in this manner

Other versions

King James Version

And it shall be, when ye are come nigh unto the battle, that the priest shall approach and speak unto the people,

English Standard Version

And when you draw near to the battle, the priest shall come forward and speak to the people

New International Version

When you are about to go into battle, the priest shall come forward and address the army.