When they reach the land of Canaan, Hashem appears to Avram and tells him that this is the land that He will give to his descendants. A famine ensues and Avram is forced to relocate to Egypt to find food. Realizing that his wife's beauty would cause his death at the hand of the Egyptians, Avram tells her to say that she is his sister. Sarai is taken to the Pharaoh, but Hashem afflicts the Pharaoh and his court with severe plagues and she is released unmolested. After a quarrel over grazing rights breaks out between their shepherds, Avram decides to part ways with his nephew Lot.
Lot chooses to live in the rich but corrupt city of Sodom in the fertile plain of the Jordan.
A war breaks out between the kings of the region, and Sodom is defeated. Lot is taken captive. Together with a handful of his converts, Avram rescues Lot, miraculously overpowering vastly superior forces, but demurs from accepting any of the spoils of the battle. In a prophetic covenant, Hashem reveals to Avram that his offspring will be exiled to a strange land where they will be oppressed for 400 years, after which they will emerge with great wealth and return to Eretz Yisrael, their irrevocable inheritance. Sarai is barren and gives Hagar, her Egyptian hand-maiden, to Avram in the hope that she will provide them with a child.