We're all guilty of doing this, comparing our selves to other people, and I could without a doubt say that this is one of the fastest ways to destroy yourself.
Steve Jobs said: "Don't compare yourself with anyone in this world, if you do so, you are insulting yourself"
God didn't create us all alike, but on the contrary we're all different, everyone of us is unique in his own way, that is why comparing ourselves with other people makes us lose our competitive advantage; that we are different.
You might see someone who is very successful in his career, achieving everyday what you wish you could have achieved, and you might envy him for what he has, but while you're doing this, you'll miss so many things.
You'll miss that he is maybe lacking a healthy social life, he might lack a family that truly loves him, and he might have health problems, and you'll simply ignore everything and look at a specific area, which is the area he is good at.
All comparisons are not fair, and never will be, simply because we have so many aspects in our life, and you won't ever know all these aspects about a certain person, so that you could fairly compare.
All what you'll do is, find the part he is performing good at, and this part will be the part you lack, and you'll see his whole life from this point, which is completely unfair, because most of the times the people you envy, might wish they could live your life.
The bottom line is, comparing yourself to anyone is an insult, and is a total waste of time, you should try to develop yourself and fix the part you feel that you lack, because at the end of the day life is about development and becoming a better person everyday, and no one has ever had it all, but we're all trying to be the best versions of ourselves, and we will continue to try.
You're unique in your own way, and god you're so worthy and precious, so don't ever lose that by comparing yourself to ANYONE.
Hope this was helpful, and I wish you a great successful life both personally and professionally, and hope I could see you here more often, thanks for your precious time.