Confidence

Lately i been feeling so ugly. I started college and i never dates before. All my friends dated and i think its cuz im just ugly that i cant attract any guy. Is it shallow for me to want a guy to think im attractive or sexy? I keep wanting to lose weight but i feel shitty knowing the reason i wanna lose weight is for a guy to like me.

Any advice to not care for what a guy thinks of me ? Ive been wanting a guys attention but im tired of continously wanting it.