I don't know if this is of any help to you, but many years ago when I struggled with self-worth, what "cured" me overtime (this was not overnight, this was LONG term) was learning to love myself by loving others. This was a practise that I had to intentionally, mindfully adopt and keep enforcing overtime.
We all judge people - if anyone truly, honestly never does, I would love to meet them and learn from them. Judging is a natural thing and it's how we, as a social species that wants to survive, assess the safety and fruitfulness of our surroundings. It's how we survive. It's normal.
I found that once I started pushing myself to think more kindly of others, I could slowly SLOWLY start thinking more kindly of myself - and by treating others with a committed kindness, and seeing them appreciate it, I started building self-worth through having a positive impact.
An example... I used to hate my nose - I thought it was way too big. Then I started looking at other people with big noses - and there are many - and realized I was judging them, too... maybe not as loudly and hashly because I was more obsessed with myself and them. Once I started seeing that other people with big noses can be incredibly beautiful as well, I kind of got over it. My nose is big. So what. The world didn't end when my nose grew too big.
Ultimately our value is not in our appearance (it fades), our talents (they are forgotten) or our personality (we change throughout our lives). The only value we can truly have and hold is how we make the people around us feel - not to the extent of extreme self-sacrifice, honestly... but if enough people enjoy being around you, because you make them feel appreciated and supported in a healthy way, you will start to create room in your mind to believe that you in fact DO have value.