Deuteronomy 20:1-5 New Revised Standard Version (NRSV)
Rules of Warfare
20 When you go out to war against your enemies, and see horses and chariots, an army larger than your own, you shall not be afraid of them; for the Lord your God is with you, who brought you up from the land of Egypt. 2 Before you engage in battle, the priest shall come forward and speak to the troops, 3 and shall say to them: “Hear, O Israel! Today you are drawing near to do battle against your enemies. Do not lose heart, or be afraid, or panic, or be in dread of them; 4 for it is the Lord your God who goes with you, to fight for you against your enemies, to give you victory.” 5 Then the officials shall address the troops, saying, “Has anyone built a new house but not dedicated it? He should go back to his house, or he might die in the battle and another dedicate it.