Honestly just
Invest in your marriage, guys. Children naturally desire their parents to love each other in a permanent and public commitment, they deserve nothing less.
And don’t ever have a child to ‘fix’ a relationship. The child owes you nothing and if you and your spouse are unable to properly love another adult on an equal footing, how can you expect to properly love a completely dependent child? Fix the relationship yourself. Like a grown-up does.