Sometimes fighting war causes gains for humankind