I am sure bible is written by man. Woman and servant are just properties. Ladies, let me just translate into today's language and see if can agree on the moral values given in this chapter.
Abram has no child. Sarai, his wife, gave her maid (Hagar) to him in order to have a child. After having a child, Hagar despised her mistress. When Sarai told her husband that, Abram told Sarai to do whatever she liked to do on Hagar. Being treated badly, Hagar escaped but was told by god to go back and submit to her authority.
In today's moral standard, Abram, although his wife did not have a child, took a maid as wife. That is adultery!
Sarai treated her maid as a property which can be given to her husband. God told Hagar to submit to her mistress. That's is slavery in plain text.
Our moral standard has advanced. Bible can no longer be the basis of any moral discussion!