To be honest, comparing my art to others' is an essential part of my artistic progress. It's the main way I motivate myself to step up my art game.
I've heard of artists who go out of their way to create in a vacuum, avoiding looking at other people's work as to not absorb any influence unconsciously, so their art can be "truly" theirs and be a product of only their own mind, nothing else. Can I just say... that really freaks me out? (it reminds me of the obsession with "originality" some creatives have.)
So yes, I compare my work to other art constantly. I spend as much time appreciating other art as making my own, if not more (probably more tbh). For inspiration, for learning, for developing style and techniques. I honestly don't care if that makes me a copycat. I'm done with waiting for my style and improvement to happen "naturally", as in, without consciously studying influences. I'm no longer so young and creative that my mind can just come up with countless ideas on its own.
Now, there are things about comparing art that are unhealthy and I know I should try to avoid them. Like setting goals related to one specific artist's work (eg. "in 2 years, I want my art to be at the same level as X!" - even worse if you double it with "I want to have as many followers as X!"), or getting fixated on your age vs. other artists'. Chances are, unless you're 14, there are tons of artists younger and better than you. I know that and it makes me feel down whenever I think of it, but I can't de-age myself or go back in time, so I can only keep on going.