Walking away from toxic relationship does not mean you don't love or care for that person it means you love yourself first and you care for yourself first. The first person that matters in this life is you.
This is called self care and self love
I believe for marriage to work one partner must be a fool play a fool