Charles Darwin said this quote

A moral being is one who is capable of reflecting on his past actions and their motives—of approving of some and disapproving of others.