Then you prefer to live in a bubble and not having any idea how you perform versus others? It's a great way to become the last of the pack and get fired while believing you are so much better than yourself a month ago.
Just be selective, only compare yourself to others whom you know are doing worse.
j/k of course, I agree, comparing yourself to others is not beneficial. Compare yourself to your past self is more motivational. There's a good chance that today you are better at whatever it is you chose to do than last year.
Furthermore, I'd also advise parents not to compare their children to other children. (it happens)