Case in point, Love in the Time of Cholera. You want to get the girl but you are a victim of socioeconomic scarcity. You become a life-long melancholic but are motivated to climb the social/professional ladder to get what it is that you couldn't get in the first place. All great literature, music, scientific discoveries were of products of unrequited love, jealousy, or the urge to overcome a self-inferiority complex.