IMO, it’s often not even “war bad” but “fighting bad”. Thus wanting the defender not to defend because that would be just as bad as attacking.
I consider myself a pacifist, so I prefer peaceful and diplomatic ways before going to war. But if you are attacked, you have the right, if not the duty, to defend yourself and your citizens.