Can a bad experience screw up dating for life?

Like I went into a relationship it was my very first cause prior to that I never had a romantic relationship before. I was kind , caring, romantic I did spontaneous dates, I would buy her tickets to her favorite show when I found out they were in town. I was always there for her when she was sick when she caught Covid I had her rest in bed and handled everything and brought her things to comfort her. One night she started convulsing in her sleep and I had to work the next day I wasn’t concerned with work her health was more important so I got her to the hospital and waited with her being late for work. She would hit me on multiple occasions at the start of our relationship I had bought a consule cause I think it would be a good and fun way to bond I bought sports games and other games well when we were playing nba 2k she started to lose and become abusive she hauled off and hit me in the head that was just a few weeks into the relationship I said do I need to go home she starts crying saying she doesn’t know what came over her and apologized so I stayed. Little did I know it was a precursor so later down the road she would hit me again because I had a slow reaction to our dog doing something but this time there was no apology she was saying I was making her do these things she would also get up in my face and call me a bitch and other horrible names. I don’t know if I was a fool or plain stupid time after time I kept giving chances and wanted to stay because I seen she had deeply rooted issues because she came from childhood trauma her parents were constantly fighting and her family is broken. So with that being said I tried to draw a line between that behavior and her as a person and somehow my Brain was thinking this isn’t who she really is it is a representation of the mental health struggles she is suffering from. at the end of our relationship she was bullying me in my car and I pulled over and had her exit she walked home and called her mom and broke up.

Updates
+1 y
Appreciate all your opinions because i attempted to be the best partner I could be
Can a bad experience screw up dating for life?
Post Opinion