I don't think casual or promiscuous sex was the problem, it is getting into a relationship because you've confused sex with something else, and "fallen" for an imaginary ideal that you've projected onto someone else--Most of the people I know who just slept around and recognized it for what it was don't have a lot of regrets--