Genesis 12:14-13:4
When Abram entered Egypt, the Egyptians saw how very beautiful the woman was. Pharaoh’s courtiers saw her and praised her to Pharaoh, and the woman was taken into Pharaoh’s palace. And because of her, it went well with Abram; he acquired sheep, oxen, asses, male and female slaves, she-asses, and camels.
But the Lord afflicted Pharaoh and his household with mighty plagues on account of Sarai, the wife of Abram. Pharaoh sent for Abram and said, "What is this you have done to me! Why did you not tell me that she was your wife? Why did you say, ‘She is my sister,’ so that I took her as my wife? Now, here is your wife; take her and begone!" And Pharaoh put men in charge of him, and they sent him off with his wife and all that he possessed.
From Egypt, Abram went up into the Negeb, with his wife and all that he possessed, together with Lot. Now Abram was very rich in cattle, silver, and gold. And he proceeded by stages from the Negeb as far as Bethel, to the place where his tent had been formerly, between Bethel and Ai, the site of the altar that he had built there at first; and there Abram invoked the Lord by name.