I know in my own marriage I stayed in it to provide my son with what I thought was a stable background and to give him what I thought was the family life a child should have with two parents. But that isn't always the best way and it took me taking my son to therapy after the divorce to really see it.
We need to reach that happy stage of our development when differences and diversity are not seen as sources of division and distrust but of strength and inspiration.