Acts 7:10
King James Version
And delivered him out of all his afflictions, and gave him favour and wisdom in the sight of Pharaoh king of Egypt; and he made him governor over Egypt and all his house.
Acts 7:10 in context
And he gave him the covenant of circumcision: and so Abraham begat Isaac, and circumcised him the eighth day; and Isaac begat Jacob; and Jacob begat the twelve patriarchs.
And the patriarchs, moved with envy, sold Joseph into Egypt: but God was with him,
And delivered him out of all his afflictions, and gave him favour and wisdom in the sight of Pharaoh king of Egypt; and he made him governor over Egypt and all his house.
Now there came a dearth over all the land of Egypt and Chanaan, and great affliction: and our fathers found no sustenance.
But when Jacob heard that there was corn in Egypt, he sent out our fathers first.