Deuteronomy 20:2-4

2And when you draw near to the battle, athe priest shall come forward and speak to the people 3and shall say to them, ‘Hear, O Israel, today you are drawing near for battle against your enemies: let not your heart faint. Do not fear or panic or be in dread of them, 4for the Lord your God is he who goes with you bto fight for you against your enemies, to give you the victory.’
Copyright information for ESV