This is absolutely true.
I also want to add that you should be very careful who you talk to about problems that are going on in your marriage. This is not a society that tries to preserve marriage. A lot of times, that friend you're going to for advice is cheering on failure.
Divorce trades your child’s happiness for your own.
If you are having marital issues, do the hard thing and work them out. Don’t give up. That’s the whole point of marriage and commitment, to not throw in the towel when things get hard. Especially with children involved.