When you end up happily married, even the failed relationships have worked beautifully to get you there.
or simply: