Genesis 16:1-6 NIV
Now Sarai, Abram’s wife, had borne him no children. But she had an Egyptian slave named Hagar; so she said to Abram, “The LORD has kept me from having children. Go, sleep with my slave; perhaps I can build a family through her.”
Abram agreed to what Sarai said. So after Abram had been living in Canaan ten years, Sarai his wife took her Egyptian slave Hagar and gave her to her husband to be his wife. He slept with Hagar, and she conceived.
When she knew she was pregnant, she began to despise her mistress. Then Sarai said to Abram, “You are responsible for the wrong I am suffering. I put my slave in your arms, and now that she knows she is pregnant, she despises me. May the LORD judge between you and me.”
“Your slave is in your hands,” Abram said. “Do with her whatever you think best.” Then Sarai mistreated Hagar; so she fled from her.
NIV: New International Version