The concept of morality is well discussed subject accross different philosophers.
According to Nietzsche
The moral is an invention of the weak to dominate the strongs. For Nietzsche, there’s two kind of moral, the weak’s one, the the strong’s one. Weak’s moral : Dualism, good and bad, that’s the moral of ressentment. Strong’s moral : auto-affirmation moral and are according no importance to the weaks because they shouldn’t be considered as they’re opposing to The will to power.