Envy may hurt, but is good for you
“By hurting, the emotion of envy forces us to focus our thoughts on the source of our agitation. That’s a reasonable interpretation from the data, but the fact is that envy does change our cognitive function - it boosts mental persistence and memory.”