Language:
Free Online Dictionary|3Dict

憶苦思甜

Source : CEDICT

to contrast past misery with present happiness (idiom)