Acts 7:9-10

Williams(i) 9 And the patriarchs became jealous of Joseph and sold him as a slave into Egypt. But God was with him 10 and delivered him from all his troubles, and allowed him to win favor and to show wisdom before Pharaoh, king of Egypt, and so he appointed Joseph governor of Egypt and of his whole household.