It didn`t work out.
That`s a simplification. Just because something eventually doesn`t work out doesn`t mean it never worked out. It was working out fine until, not much later, it wasn`t working out at all.
Happiness is not canceled out by unhappiness. A relationship is not canceled out by its end.