We all go through that process Mar, every single one of us. If we walked away the very first time our spouses did something we felt wasn't quite right we wouldn't have been married. To me as a non-religious person a marriage is a commitment to trying. But you have to have both people trying, and it takes a while to see that's not what is going on. Sticking to the bad times is what we signed up for as we honor love we once had.
And then later, there comes a time when that's not enough any more for one or both parties. You know you tried and made it clear you were all-in for trying. Not just 3 months, but for the year and a half. And now, it's time for you to say "Okay. I hear you.".
You didn't do anything wrong. Don't regret that you came back - just acknowledge it as the learning you had to go through for yourself.