Compare Matthew 5:31-32; Luke 16:18
These are tough passages. It’s absolutely clear, though, that God’s design is for marriages to endure.
Moses permitted divorce, but as a concession to human weakness, not as something with divine approval.
Compare this statement (a hadith, as they’re known) from the Prophet Muhammad:
“With Allah, the most detestable of all permitted things is divorce.”