This is something I posted somewhere else about this topic.
"In regards to slavery, people in slavery of Old Testament times would sometimes sell themselves into slavery because of things like unpayable debts, or because of the benefits, if you were a slave, your master provided all your needs, so if you were beggar poor with no means to provide yourself with anything, slavery was a wonderful option. This is what I hate about people bringing up the slavery issue, they do not take the historical context into account. The Old Testament also had laws about slaves, like if you killed one, you would be killed, so slaves were equal in value in terms of human life.
"Deu 24:7 "If a man is found stealing one of his brothers of the people of Israel, and if he treats him as a slave or sells him, then that thief shall die. So you shall purge the evil from your midst. "
"Exodus
21:20 "When a man strikes his slave, male or female, with a rod and the slave dies under his hand, he shall be avenged. "
Exodus
21:26 "When a man strikes the eye of his slave, male or female, and destroys it, he shall let the slave go free because of his eye.
Exodus
21:27 If he knocks out the tooth of his slave, male or female, he shall let the slave go free because of his tooth. "
The last two verses show that punishment for a slave was not inhumane, because if you punished them too harshly you had to let them go free. Does that sound like the slavery that we knew of in America? And yet people try to make a case against the Bible because of slavery, because they think the slavery of the Bible is the same as the slavery of recent times, this is argument from ignorance."
For more information on this subject you can watch this half hour
video.