Terah took his son Abram, his grandson Lot (who was the son of Haran), his daughter-in-law Sarai (the wife of his son Abram), and left Ur of the Chaldeans to move to the land of Canaan. They got as far as Haran and settled there.
With him went his wife Sarai, his nephew Lot, together with all the possessions they had collected and the people that had joined them in Haran. They left for the land of Canaan. When they arrived there,
When Abram found out that his nephew had been captured, he called together 318 fighting men who had been born in his household and chased after them all the way to Dan.
He ordered the people, “Move away from the tents of these wicked men and don't touch anything that belongs to them, otherwise you will be destroyed along with them in all their sins.”
Then I heard another voice from heaven calling out, “My people, come out of her, so that you don't participate in her sinful ways, and so that you don't experience her plagues.