Many women have been in your shoes OP. The pain this man has inflicted upon you has left deep emotional scars that will take some time and perhaps some therapy to overcome, but it can be done.
First and foremost, I want you to understand one fundamental fact. You did NOTHING WRONG HERE. Nothing. You are a loving person w/a beautiful heart who is a good and decent human being. A horrible person took full advantage of that and it is his loss, it shouldn't be yours. People like him will have karma to answer up to....And trust me, karma never forgets a soul. Never.
I know it hurts and it may feel like you may never trust anyone again, but do not let this one person jade you for life.
You need to recognize that there were some initial red flags/warning signs that you chose to ignore, whether subconsciously or not. A lot of it has to do w/the type of childhood you had. Remember this: ----> We ALL tend to gravitate organically to what is familiar to us...What we grew up w/as children. What signified comfort to us. If you had a bad childhood, and this guy possessed some negative characteristics that you had to endure from your parents growing up, then by nature you were drawn to this guy since he reminded you of the comforts of childhood and home, etc.
It might be a good idea to seek therapy to sort out some of your issues so you can seek clarity so in your next relationship you can have better judgment.
I wish you the best of luck in all of your future romantic endeavors.
Hope this helps out.