Torah Mitzion:
Shoftim: Preparation for battle
The combatant's willingness to sacrifice by possibly paying a personal ultimate price is soothed by realizing that his actions are linked to the fate of his nation and are an act of worship of the Creator.