Yes, that’s Exodus. Jesus did underline this whole period as a time when Moses wrote compromises because people’s hearts were hard. Another example is divorce which is what Jesus used:
Mark 10:3-5
He answered them, “What did Moses command you?” They said, “Moses allowed a man to write a certificate of divorce and to send her away.” And Jesus said to them, “Because of your hardness of heart he wrote you this commandment.
Estiar@sh.itjust.works 6 days ago
Or chattel slavery in Leviticus 25:44-46
Leviticus 25:44-46 NRSVUE [44] As for the male and female slaves whom you may have, it is from the nations around you that you may acquire male and female slaves. [45] You may also acquire them from among the aliens residing with you and from their families who are with you who have been born in your land; they may be your property. [46] You may keep them as a possession for your children after you, for them to inherit as property. These you may treat as slaves, but as for your fellow Israelites, no one shall rule over the other with harshness.