lIn Matthew 19:3, the Pharisees came to Jesus testing Him with this question, "Is it lawful for a man to divorce his wife for
just any reason? Jesus used this opportunity to teach a lesson. In verse 4 he reminded them that God made them male and female from the very beginning. In verse 5, He explains that for this reason a man will leave his mother and father and be joined with his wife and they shall become one flesh. In verse 6, now that they are one flesh “What God has joined together, let not man separate.”
In order to still try and trip Jesus up, the Pharisees asked why Moses allowed divorce by giving a certificate of divorce to the wife and “put her away”.
This is the one and only exception in permitting divorce. In verse 9, Jesus states, “And I say to you, whoever divorces his wife,
EXCEPT FOR SEXUAL IMMORALITY, and marries another, commits adultery; and whoever marries her who is divorced commits adultery.”
As you can see, there is an instance where divorce is allowed.