It is very Christian to help to achieve peace and security. This is a specific task of the military. The violence that soldiers are sometimes forced to use can be justified if there is an imminent threat, provided that there is no other solution and the force used is proportionate to the aim pursued.
Pope John Paul II said in 2003: “War cannot always be avoided. But it is always a defeat for humanity.”