For a child, having happy, fulfilled parents who are committed to that child (in whatever configuration those parents come, and even if that configuration changes), and who are living lives that fulfill them, is far superior to having two parents who are "together" dysfunctionally only because rules and a hierarchy keep them in line.