Friedrich Nietzsche said this quote

A bad conscience is easier to cope with than a bad reputation.