Comparing yourself to other people is not a bad habit acquired through weakness. It is an automatic process, described in psychology as social comparison theory, and it operates whether or not you intend it.
Why we do it
People have a drive to evaluate their own abilities and opinions. Where objective standards are unavailable, which is most of the time, others become the measure.
There is no absolute scale for whether you are doing well at your career, your parenting or your life. The only available reference is other people.
This served a purpose historically, where comparison was against a village and provided useful information about where you stood.
Upward and downward
Upward comparison, against people doing better, can be motivating where the gap seems bridgeable and the person seems similar to you.
Where the gap seems unbridgeable, it produces inadequacy and envy rather than motivation.
Downward comparison, against people doing worse, temporarily improves mood and is a poor foundation, since it depends on other people struggling.
What changed
The comparison set. Historically people compared themselves against those they encountered directly, a limited group with visible ordinary lives.
The available comparison set is now effectively unlimited and heavily selected for exceptional cases. Anyone can compare their career against the most successful person in their field and their appearance against professionally produced images.
No previous generation encountered this volume of comparison material, and the human tendency was not designed for it.
The asymmetry problem
The central distortion is comparing your interior against other people exteriors.
You have access to your own doubts, difficulties and failures, and to other people edited public presentation. That comparison is guaranteed to be unfavourable regardless of the actual situation.
This applies offline as well. Colleagues who appear to be managing effortlessly are frequently not, and you would know that if you had the same access to them that you have to yourself.
Where it does most damage
Comparison in the domain your self-worth is most invested in. Someone whose worth rests on career comparing careers, or on appearance comparing appearance.
Comparison during a low period, since low mood increases attention to unfavourable comparisons and reduces the capacity to contextualise them.
Comparison against people whose circumstances differ substantially, which is most people, since the visible outcome rarely comes with the invisible starting conditions.
The timing distortion
People compare their current position against someone else current position, ignoring that the two are at different points.
Comparing your first year against someone tenth is common and produces a conclusion that has nothing to do with capability.
What reduces it
Reducing exposure is the most direct step, and it is more effective than resolving to compare less while continuing to scroll.
Muting or unfollowing accounts that reliably leave you feeling worse costs nothing socially, since neither is visible to anyone.
Noticing the comparison as it happens, and naming it, interrupts the automatic conclusion that follows.
Changing the reference point
Comparing yourself against where you were, rather than against another person, provides information you can actually act on.
Where comparison is unavoidable, comparing against a realistic peer rather than an exceptional case at least produces a meaningful measure.
The people who do not seem to compare
People who appear untroubled by comparison are rarely doing something clever. They usually have a more stable sense of their own worth, so information about others carries less weight.
This is the substantive point. Comparison is only damaging where your worth is at stake in the answer, which is why working on the underlying belief achieves more than trying to notice other people less.
Where it points to something else
Constant comparison producing significant distress usually reflects underlying low self-esteem rather than a comparison problem in itself.
Someone with a stable sense of worth notices that others are doing well and is not diminished by it. Addressing the underlying belief does more than managing exposure alone.
This is general information rather than medical advice.