and gave her to Abram so she could bear his children. "The LORD has kept me from having any children," Sarai said to Abram. "Go and sleep with my servant. Perhaps I can have children through her." And Abram agreed.
So Sarai, Abram's wife, took Hagar the Egyptian servant and gave her to Abram as a wife. (This happened ten years after Abram first arrived in the land of Canaan.)
So Abram slept with Hagar, and she became pregnant. When Hagar knew she was pregnant, she began to treat her mistress Sarai with contempt.