Every Religion (and its underlying Philosophy) has the concepts of "Good vs. Evil", "Right vs. Wrong" etc. baked in. These are expressed as morals, ethics, rules, law, order, harmony etc. They can be relative across cultures/societies but there are also absolutes applicable for the whole of mankind.
In some Religions/Philosophies, the above concepts are not so simplistic but much more complex and nuanced. A good example is "Dharma (https://en.wikipedia.org/wiki/Dharma) vs. Adharma (https://en.wikipedia.org/wiki/Adharma)" and "Yin and Yang" (https://en.wikipedia.org/wiki/Yin_and_yang).
These opposites wax and wane over time in a inter-related manner but for mankind to flourish the negatives must be suppressed and the positives enhanced. In order to maintain this balance, sometimes violence becomes necessary as a last resort in which case it is called "A Righteous and Just War".