We all experience failed relationships and they hurt.
And there is no understanding human behavior, especially when it comes to loving. He wasn't the right man for you. Work hard to be the best person you can -- here's where we can all benefit from professional guidance -- and probably you'll meet someone you can be with on terms acceptable to you. Good luck.