How to even start working on my confidence and trust?

Im in the same situation, maybe even worst. She was my first girlfriend, at the end she kept breaking up with me and I was a fool because I accepted her back, only to discover that she went on dates while we were away, after that I put and end the relationship after I stop going to university for one yeae because she was sick and her parents abandoned her, she was miserable and done my best to be there for here, got her ass in the gym so she can find some motivation in life, made her feel like a queen, because she kept saying that she has a lot of low self esteem. At the end I was being called a jerk (because she was thinking I would never break up with her no matter what) got verbally abused, physically abused at the end (she really knew how to play the victim card and how she can't sometimes control herself because how much she loves me) made almost everyone in my dorm (she was the popular girl in the dorm) hates me because she spread lies how I hit her and that I'm a jerk. I gave that girl almost everything I had, my nerves, my money by booking trips together and gifts and the worst of all of this is my time when I really needed to succeed in my studies and to make a place in the foreign country I'm currently in. Now I feel happy that she's not around anymore but I still feel exhausted and so unmotivated in life that I don't know what to do anymore... Trusting another girl again seems very hard.

/r/infj Thread