So my girlfriend and I dated for over a year but the past couple months we had more rough times than good. This was due to me being lazy and taking the relationship for granted. I wasn't texting her and calling her as much and would be selfish during our hangouts only wanting to do what I wanted to do, she also wanted me to quit smoking the whole time and I would always promise I would but didn't. She broke up with me 5 days ago and in that time she's hooked up with this girl she was friends with a few times and that really hurt me but last night I had an epiphany that none of it would've happened if I hadn't taken her for granted and it being a girl and not a guy makes it possible to overlook if it means we can be happy together moving forward. I didn't have a cig today and went over to her house to tell her I would quit Xbox and smoking for her and be the boyfriend she deserves and never make her feel lonely again like I had. She was happy to hear this but wanted to see it over some time to know I'll actually come through this time which I understood and thought was reasonable. However my only condition was that she not hook up with this girl or anyone else in the mean time which she couldn't promise me... I swore to her over and over that she wouldn't regret it but she wouldn't agree to my condition and said she deserved to be happy and to do whatever she wants while I show her that I can be good for her. I couldn't accept that and left saying it would be the last time we ever see each other or speak again for my own good as to not keep getting pulled into that situation which would be the death of me. My question is, would anyone view that as ok for her to do? Like should I have just been like ok and proved things to her while she's doing crap with that girl? Or did I do the right thing by not accepting that even though I caused the situation?