Why do I always attract guys that have no good intentions with me?

I’m 21 and I’ve always noticed that I always attract guys that have no good intentions with me. I started to notice this when I was a junior in high school and some guys would say, “mmm I’d love to hit up a piece of you”. And I got comments like that until I graduated high school. It didn’t scare me or anything like that, I was just very annoyed. However in college, it was a little worse as guys would do stuff like whisper in my ear “mmm hey sexy” and run off before I see who the person is. This slowed down my sophomore year when I decided I wanted to date a smart mature guy. I went on a date with a guy I had interest in cause he was very smart and seemed mature and we were classmates. He was very interested in me too but was too shy to ask me out until I showed some interest in him. We became boyfriend and girlfriend but 2 months into our relationship he was sad I wasn’t comfortable with taking another step into the relationship sexually and told me that if he knew that before our first date then he wouldn’t of asked me out. I was so upset until he was crying telling me to please don’t leave him. I didn’t but as our relationship grew healthily, he started to become depressed and pushed me away saying that I deserve better despite that I loved him very much. Months after he broke up with me, guys would just be talking to me casually and then saying stuff like, “want to send me some nudes sometime?😏you are sexy asf”. All guys that become interested in me (except my ex) are like that and it makes me feel sad. And I’d give any guy I knew an opportunity if they wanted to. I’ve never rejected a guy in my life unless he doesn’t have good intentions with me. I don’t judge a guy by anything like his looks, if he’s popular, etc. All I care about is if a guy is nice, honest, and has good intentions with me. But I’ve never met a guy in my life with all of those qualities.
Updates
+1 y
I feel like this is going to be my life and that guys are always going to hit on me while having no good intentions with me. I dress modestly and I’m not flirty with men. Is my life always going to be like this to where I’m going to live my life alone?
Why do I always attract guys that have no good intentions with me?
Post Opinion