Why do I only attract the men I’m not attracted to?

I’m fairly pretty, take pride in my appearance, I’m friendly and confident but I only attract men I’m not attracted to.

If anyone is in the uk, i attract the type of men who are on university challenge lol. They make lovely friends but I could never see myself sleeping with them. They are kinda awkward and don’t turn me on

For that reason I’ve only ever had sex once and it was with a guy I was insanely attracted to both personality and looks, but it’s been 4 years since I had sex 😠😠