That's a different question though. It's in society's interest to ensure couples (or at the least couples who have children) are compatible enough long-term to not end up divorcing/separating.
The societal costs otherwise aren't just the obvious direct costs - there are other things like (in divorces where there are children involved) negative effects on labour force mobility.