Friedrich Nietzsche said this quote

Morality is just a fiction used by the herd of inferior human beings to hold back the few superior men.