Divorce was allowed because of hardness of the heart

[Mark 10:4-5] They said, “Moses permitted a man to write a certificate of divorce, and to dismiss her.” And Jesus answered and said to them, “Because of the hardness of your heart he wrote you this precept.