Dating problems.

So, I'm 17 almost 18, I have not had a boyfriend in almost 2 years. Any guy that I have dated in the past ended up being a jerk and cheating on me. It has me thinking, that maybe there's something that I do that makes them not want to be with me. I've only had a handful of boyfriends and any guy I talk to gets interested in my friend or puts me kind of in the friend zone. I'm very insecure about it, which makes me insecure about myself. This has been on my mind a lot lately. I was wondering if anyone has any advice? Rant over.