Comparison is natural.
It is one of the ways we understand the world. When we describe something unfamiliar, we usually compare it to something known. A peach is like a softer, juicier apple with a different kind of sweetness. Comparison gives the mind a bridge.
The same thing happens internally. We compare to orient ourselves, inspect where we are, and understand what something means.
But comparison has two very different forms.
Some comparisons only give context. Where you were born, your family, your height, your starting point, parts of your natural makeup. They may explain something, but if there is no useful action available, staying there can become rumination.
Other comparisons can become teachers.
Looking at someone successful in your field can be useful if the question is not "why am I not them?" but "what can I learn from how they think, operate, communicate, build, or make decisions?"
The trap is envying someone's outcome without seeing the full picture of their life. We usually compare our entire reality to the visible part of someone else's.
Comparison is useful when it creates learning. It becomes costly when it only creates self-punishment.