Dean Koontz said this quote

But the line between moral behavior and narcissistic self-righteousness is thin and difficult to discern