Confucius said this quote

The gentleman understands what is moral. The small man understands what is profitable.