Why do we compare ourselves with others?

Why do we compare ourselves with others?

Why do we compare ourselves against other people? We all compare ourselves to other people.  We do this even when the comparisons make us unhappy.   Why do we do this? How does this tendency to compare with others affect our wellbeing?  Is there a way to overcome the...