Om Swami
Will having a child fix an unhappy marriage?
Don't expect your partner to make you happy
When you expect your partner to make you happy, you load them with what you want, when what everyone deeply longs for is freedom. A marriage that is not functional before a child will not become more functional after one.
But if a marriage is not functional before having a child, it is not going to become any more functional after having a child.