All wars are a tragedy for humanity, but some wars are still just, and need to be fought because a greater tragedy may result from the unjust avoidance of a particular war.  

The same logic applies here.