Whilst I agree, it helps a lot if people treat you well for boosting your self-confidence, true confidence is as I said 'liking yourself', to the point if other people do not like you, you can say to yourself
'f*** them, and what they think, I love being @doubleindemnity' and still look at yourself in the mirror with your head held up high.
The problem that you have, is where you automatically assume everyone dislikes you because you are bald, it's a limiting belief, and a reflection of how you view your own baldness.
The truth is, you don't like the way you look without hair, and project that onto others.
I have never met you in person, but I bet you have an insecure vibe, as someone full of self doubt and needs reassurance.
I can tell you right now, even if you do have hair, like I do, not everyone is going to like you, just today I got rejected by a girl on a dating app because of my ethnicity. She couldn't figure it out (I don't look typically Indian), asked me what it was, told her, then ghosted me soon afterwards.
If I thought like you, I would start to beat myself up, and believe that nobody likes me because of it, when it's not true. I have met many women who don't care about my ethnicity.
The truth is not everybody is going to like you, no matter who you are, find people that do!