Everybody can justify their actions. We all think that we're doing things for reasons that are meaningful to us. Maybe not to other people, but to us.
For some years I have spent my time on exactly these questions - both in thinking about ways to prevent war, and in thinking about how to fight, survive, and terminate a war, should it occur.