one tries one 's best and still gets criticized for it
Chinese idiom, Pinyin is Qi ú Qu á nzh ī Hu ǐ, which means that one wants to preserve one's reputation, but is slandered. It's from Mencius · Li Lou Shang.
The origin of Idioms
Mencius · Li Lou Shang: "it has the reputation of being safe, and it has the destruction of seeking perfection."
Idiom usage
If you are familiar with it, you will feel more intimate; if you are intimate, you will inevitably be destroyed by perfection. (the fifth chapter of a dream of Red Mansions by Cao Xueqin in Qing Dynasty)
one tries one 's best and still gets criticized for it
praising the two brothers both having ability and political integrity - yuán fāng jì fāng
Take the heart of yourself and live the life of others - yǐ jǐ zhī xīn,dù rén zh fù
the principle of friendship will not admit of a refusal - yì bù gǎn cí