One of the most infuriating bait and switches old testament apologists pull is ignoring the rules for slavery of foreigners and pretending the rules for Hebrew servants are the extentvof the slavery in the bible. Even then they still ignore the rules for Hebrew slaves when those have questionable provisions.
For example, they'll claim slavery was only temporary but foreigners were slaves for life and circumstances can lead a Hebrew servant to be permanently in service to the master:
Leviticus 25: 44“ ‘Your male and female slaves are to come from the nations around you; from them you may buy slaves~. 45You may also buy some of the temporary residents living among you and members of their clans born in your country, and they will become your property. 46You can bequeath them to your children as inherited property and can make them slaves for life
, but you must not rule over your fellow Israelites ruthlessly.
Exodus 21:4 If his master gives him a wife and she bears him sons or daughters, the woman and her children shall belong to her master, and only the man shall go free.
5 “But if the servant declares, ‘I love my master and my wife and children and do not want to go free,’ 6 then his master must take him before the judges. He shall take him to the door or the doorpost and pierce his ear with an awl. Then he will be his servant for life.