Slavery in any form , at any time in history is wrong.
The biblical "approval" of slavery, no matter how it was "regulated" was wrong. Pure and simple!
So too was the forced taking of women and children for the Isrealites to "use" when they captured nations. Wrong. Pure and Simple!
No one can try and convince me otherwise.