So, do you, as a player, actually worry about how your character stacks up to other players' characters? If so, in what ways? What about it is important to you? By what metric do you judge? What do you do if you feel your choices aren't as good or your character isn't as competent?
In D&D? Rules-wise, mechanically? No.
I don't suffer "stat envy". I'm one of the people who's preferred method of character creation is random stat generation. Yes, I am always hoping for high rolls. But I'm also 100% fine with playing whatever #s result. Whatever I get, I'll make it work. Even if it's the very short end of the stick. If I weren't? Then I wouldn't be rolling.
Nor am I worried about how my chosen class's abilities stack up to another classes. If I were? I wouldn't have chosen the class I did.
My choices aren't as good how? That I've made poor choices? Or that the class offers poor choices vs some other class?
If it's the latter I either don't choose that class, or I obviously don't mind because I chose it anyways.
If I've made what turns out to be poor choices - feats/skills/spells/etc - & those are making things unfun for me? 1st I'll see if I can alter those through play. If things can't be salvaged I'll retire the character at a logical point within the story. I don't compare my choices to those made by others though. Just, did this result in me having fun - Y/N/NA
My characters competence;
As long as my character is fun to play I'm fine with them being of different competency from others (either way less, less, or greater).
In fact I've intentionally made some characters who're less to way less competent. Or could be seen as such depending on how you measure such things. I mean, take DPR for instance. Many think this is really important. Me? Well, I have an 8th lv Warlock who's max DPR is..... 8 @ range (sling + Dex) or 6 in melee (staff, -2str).
Maybe someday the ranged will get up to 9? Or
maybe the Str mod will get to +0? I intentionally chose to put a 7 in Str. as well as choosing to forgo damage causing effects/spells. Bree will never even compete in a DPR race.
But the character brings all sorts of other non-combat options, is an actual developed
character, & is alot of fun to play.
And that leads to how I judge my characters. Am I having fun with what I've made?
If yes, continue playing them.
If no, see if I can change /adjust something to more fun.
If still no? Retire character. (this happened to a very well crafted Dragonborn Paladin last year. There wasn't anything mechanically wrong - stats/class/oath/party mix/etc - but he just turned out to be a boring character to play. So into the folder he went.)