Sarai said to Abram, "God has not seen fit to let me have a child. Sleep with my maid. Maybe I can get a family from her." Abram agreed to do what Sarai said.
So Sarai, Abram's wife, took her Egyptian maid Hagar and gave her to her husband Abram as a wife. Abram had been living ten years in Canaan when this took place.
He slept with Hagar and she got pregnant. When she learned she was pregnant, she looked down on her mistress.