I have always taken the view that sometimes war may be justified, as police action can be justified, to protect the weak and vulnerable (a major preoccupation in scripture). But this is an old and difficult question and very wise people take different views.
N. T. Wright