How to feel confident after called ugly?

One mid Chinese guy said I’m 6/10 but rated him as 9/10 even if he’s not. And other dude with social anxiety that knew I consider myself unattractive said that I’m “okay” after I said he looks god😭 and I’m always being rejected if I approach someone and nobody approach me. How should mid girls with social anxiety act and do? And feel confident? I can’t say I approach super attractive people but still being rejected by mid or normal and I never tried to approach someone 10/10.
How to feel confident after called ugly?
Post Opinion