People judge others to avoid uncomfortable feelings
Most judgments of others are ego strategies to avoid uncomfortable feelings. If you lack the awareness of where they come from, they can lead to even more discomfort later.
Think about the people you are trying hardest to impress. Will they still be in your life in 5 years time? We each have our own life to lead and paths will diverge.
As we grow up, we realise it is less important to have lots of friends, and more important to have real ones.