The problem was just a mean attitude that festers and has to be challenged.
It is better to be unhappy in love than unhappy in marriage but some people manage to be both.