So you are admitting it tells you who to enslave.
If you stopped being a donkey for a little while and tried actually
reading the Bible, you might see that the ordinances you decry are part of the Sinai covenant. Christians aren't under that covenant.
As for the ordinances being given by God, consider that they are
restrictive; a Hebrew owner of slaves is
not permitted to treat them in any way he chooses, but only within the limits of the Law.
Christians do not endorse slavery at all, let alone the mistreatment of slaves.