There's a reason I started that paragraph with "if you were to blame." He bears responsibility for his choices - he obviously didn't respect you enough to treat you with the dignity everyone deserves, although that may also indicate a certain level of immaturity, or lack of empathy for others in general.
I honestly tend to doubt you'd even feel the way you have about him if you truly believed in yourself. This all tends to happen subconsciously, but you both were likely using each other for differing reasons - he told you what you wanted to hear so he could get some easy action, you got to hear the things you wanted to hear to feel better about yourself.
The problem isn't really much different from drug addiction. The "feel good" isn't based upon a solid internal foundation, but an external "hit" that is temporary, and fades ever more quickly each time you get it. So you need it more often, and more strongly - making you "needy and clingy," which makes you a drag on the person giving it to you.
You've got to "get clean," and rebuild your self-image from a position of knowing nobody is better than anybody else - which means nobody is better than you, and you're not worth any less than anybody else. Build your self-image upon knowing that basic truth, and you'll eventually feel much better about yourself.