Genesis 16:2-4

ISV(i) 2 So Sarai told Abram, “You are well aware that the LORD has prevented me from giving birth to a child. Go have sex with my servant, so that I may possibly bear a son through her.”
Abram listened to Sarai’s suggestion, 3 so Abram’s wife Sarai took her Egyptian servant, Hagar, and gave her as a wife to her husband Abram. This took place ten years after Abram had settled in the land of Canaan. 4 He had sex with Hagar, and she became pregnant. When she realized that she was pregnant, she looked with contempt on her mistress.