Your problem isn’t your looks. It’s your self esteem. There are plenty of average, or even below average, looking people out there that are popular, rich, successful, etc. If you are struggling with vanity, I would suggest you take the time to study some of those people. Watch YouTube interviews to notice their attitudes, body language and behavior. It happens all of the time that people are perceived as more attractive because of a positive personality. Your lack of confidence shows. Start there.