Gou Jian sleeps on brushwood, tastes gall
After Yue was defeated by Wu, King Gou Jian of Yue served Wu's king Fuchai as a humiliated captive and was eventually allowed to return home. Back in Yue he slept on brushwood and tasted a bitter gallbladder before meals, so he would keep his defeat in mind. Over roughly twenty years he rebuilt Yue's population and army, then destroyed Wu in 473 BCE. The episode is the canonical Chinese case of deliberately keeping a humiliation vivid in order to sustain a long-horizon comeback.