‭‭Matthew‬ ‭19:7-9‬ ‭WEB‬‬ | Why then did Moses command us to give her a bill of divorce, and divorce her?

They asked him, “Why then did Moses command us to give her a bill of divorce, and divorce her?” He said to them, “Moses, because of the hardness of your hearts, allowed you to divorce your wives, but from the beginning it has not been so. I tell you that whoever divorces his wife, except for sexual immorality, and marries another, commits adultery; and he who marries her when she is divorced commits adultery.”
‭‭Matthew‬ ‭19:7-9‬ ‭WEB‬‬