If you don't bother to learn about the character of your partner and your compatability with your partner prior to bearing children with him/her, then there are consequences for all parties... especially the children.
Would that it were that easy: My parents were married 23 years prior to the events I described above.
Most people don't get married with the intention of it being temporary.