This was after Abram lived ten years in Canaan. And Sarai gave Hagar to her husband Abram. (Hagar was her slave girl from Egypt.)