Language:
Free Online Dictionary|3Dict

甘之如饴

Source : CEDICT

lit. as sweet as syrup (idiom, from Book of Songs); to endure hardship gladly/a glutton for punishment