In war, captains understand a few of their soldiers will die. This is done so that thousands of people will live in freedom after the war. Which theory supports this reasoning?