Do you agree with and support these biblical commandments on slavery?
Is this the word of God?
If you don't agree with slavery, can you please explain how you reconcile your God's words about slavery with your own beliefs?
In order to answer any of those questions, there are some little details that you ignore, not because you never heard about them, but because you were reading and reading several biblical passages and never understood them.
For example. the biblical god, indeed, gave rules about slavery. Take note there are also specific rules when an individual "voluntarily" wants to be a slave.
Note as well, that the people believing in the biblical god, they also have rules to treat slaves.
From here, you must put in your mind, that the Israelite was not the same as other tribes or nations.
Other tribes and nations did not respect the integrity of their slaves, many of those nations treated slaves as animals not as persons.
The people in Israel were to give respect to the integrity of the slave. Their laws came from a god, not from a human like the other nations.
Hope you are starting to understand the situation here.
Then, being a slave in Israel was not a bad idea after all. And many foreign people and Israelites themselves became slaves by their own will.
Same treatment was given by the Israelite to their slaves in times of the apostles, of course, under the new foreign rulers, such respect perhaps was lost, and even in ancient Israel many might have ignored in purpose the laws of God in reference to slaves.
Point is that from God's part, acquiring slaves by force after a conflict, or buying them or accepting them, slaves were to be respected physically and emotionally. There are also rules in case the slave is a rebel. But such is not injustice, a same or worst punishment was to be given to the son of the master if this son was disobedient (rebel) as well.
Then, under the conditions provided by God, of course slavery can not only be considered but in many cases suggested.*
(*Several years ago, on TV, it was a special program revealing slavery in the south of this country. The cameras showed farms where people escaping from the law, decided to become slaves and found protection from the landlords of those territories. It was not a bad deal for them, they avoided jail, they had food, shelter, peace, and even security, something much better than been behind bars. It remind me the biblical practice of slavery).