Most of us think of ourselves as good people. We set out to be ethical, and we hope that in pivotal moments we will rise to the occasion. But when it comes to building an ethical career, good intentions are insufficient. Decades’ worth of research has identified social and psychological processes and biases that cloud people’s moral judgment, leading them to violate their own values and often to create contorted, post hoc justifications for their behavior. So how can you ensure that from day to day and decade to decade you will do the right thing in your professional life?

A version of this article appeared in the January–February 2020 issue of Harvard Business Review.