It's useful to compare yourself with others - you can learn what they are doing right, and copy it.

But you can also feel envy.  Others buy positional goods - fancy cars, shiny watches - for this exact reason.  They want you to feel bad, so they can feel good.

Status matters, but feeling bad isn't necessary.  Show status only when it matters - when it doesn't, don't compare.  Be mindful when others are trying to establish status, and let them compete with anyone but you.