Om Swami
Will having a child fix a struggling marriage?
Don't expect others to make you happy
A marriage that isn't working before a child won't work any better after one. Expecting your partner to make you happy loads on them what you want, when what everyone really aspires to is freedom.
If a marriage is not functional before having a child, it is not going to become any more functional after having a child.