Staying married is not entirely under your control, since your spouse can file for divorce even if you think your marriage is doing well. Unfortunately, the only way of being certain that you'll never get divorced is to never get married.
"Choosing the right partner" is good, but people change and grow apart and grow bored and meet other people who they might like better than their spouses. The "right partner" when you're in your twenties may not be the right partner twenty or thirty years later.
The author is a woman and statistically one could argue control over divorce in the modern west is with the woman. Among the college educated 90% of divorces are filed by women. More generally it's 70%, but some argue that when the husband files he's very often not doing it of his own accord.
There are large numbers of divorced boomer women going into old age alone and poor figuring out they made a huge mistake.
So for a female audience this is probably important advice.
Don't get divorced because divorce is expensive... not such good advice. Choose the right partner and don't settle so that you don't get divorced... good advice.
You can't imagine a scenario where your spouse may find something irritating, but for whatever reason choose to not mention it. Then, after years of daily annoyance, one day decides that it's too much and presents you with an "I thought it would get better, but...."?
Making a blanket statement that one should know how someone else feels is ignoring that the other person may be actively trying to suppress/hide it.
LOL, really. She should've known when she was younger, that she shouldn't have gotten married to the guy that she would eventually divorce. Very good hindsight/20:20 advice though.