Just read elsewhere about a family's experience with divorce. Not many details at all. But details are not needed.
Divorce sucks. God hates divorce.
Sometimes, divorce seems very necessary. Most of the time, it probably is not necessary. We won't go there.
The most important thing is to be very prayerful, very discerning, very much open to and seeking God's will and guidance when choosing a spouse.
Marrying for God's reasons, marrying to do God's will, marrying with God's guidance and consent, greatly reduces the "need" for divorce.