yán​yǐ​zé​jǐ​kuān​yǐ​dài​rén

to be strict with oneself and lenient with others