In other words, God was perfectly okay with the vile immoral type of slavery that was practiced in the US for hundreds of years. Now that is NOT a God worthy of my worship... and if you are a moral person, this god shouldn't be worthy of your worship either.
In a time when slavery was part of everyday life in a world with no social security, I believe that you are mistaken. You are shaking your fist at the wrong person.
If slaves were given food and clothing and shelter and their alternative was starvation, homelessness and death, don't you think it was reasonable to expect that they would do what was expected of them? If they did their job, there were no beatings.
No one is condoning slavery, but in those times, it served a purpose.
Israelites were not allowed by law to mistreat their slaves, regardless of whether they were fellow believers or not. You cannot transfer today's sensibilities onto yesterday's lifestyle. Nor can you compare it to the kind of slavery practiced in the southern states of America by so called "Christians".
In my mother's young days in England, kids left school at 14 and went to work. They were often kicked out of home because there was no room or money to feed younger siblings. There were boarding houses where these young people lived with strict rules, which if they were violated, meant eviction with nowhere to go. Who today would expect that kind of life for a 14 year old?
God did not invent slavery...he merely accommodated it by giving his people laws to make it as tolerable as possible.