As the saying goes, a gentleman does something and does everything. People should be cultivated until everyone else is doing something they shouldn't do, but they just don't do it before they get home. Therefore, when it comes to ethics, we should not always say what to do, but should always judge and insist on never doing anything wrong. But to achieve this state, the basic conditions are correct judgment and strong self-discipline. There are some things you can do and some things you can't do. As a gentleman, you can't help yourself.
From the Analects of Confucius, Chapter VI, Righteousness and Benefit (Part II)