Albert Camus said this quote

There can be no question of holding forth on ethics. I have seen people behave badly with great morality and I note every day that integrity has no need of rules