Alleviating Cognitive Dissonance
Suffering for something of little value can cause cognitive dissonance. One way to alleviate that dissonance is to change your belief about the value of the thing you suffered for.