They left Midian and went to Paran. Then, along with some people from Paran, they went to Egypt, to Pharaoh king of Egypt. He provided Hadad with a house and food, and also assigned him land as a gift.
Previously the Horites lived in Seir, but the descendants of Esau took over their land. They killed the Horites and settled there, just like Israel did when they occupied the land that the Lord had given them.)
just as he'd done for the descendants of Esau who lived in Seir when he destroyed the Horites. They drove them out and settled where they used to live, and are still there to this day.