Beyond Good and Evil by Friedrich Wilhelm Nietzsche

95. To be ashamed of one's immorality is a step on the ladder at the end

of which one is ashamed also of one's morality.