甘之如饴

enjoy sth. bitter as if it were malt sugar

gān zhī rú yí ㄍㄢ ㄓㄧ ㄖㄨˊ ㄧˊ