知耻近乎勇/ 知恥近乎勇 zhīchǐjìnhūyǒng to know shame is to be near to courage
To be aware of one's shame is a step toward being brave; often cited from the 礼记 lǐjì as part of the three requirements for self-cultivation alongside 力行近乎仁 lìxíngjìnhūrén ("vigorous practice is near to benevolence")