and rescued him out of all his troubles. He gave him favor and wisdom before Pharaoh king of Egypt, who put him in charge of Egypt and of his whole household.
In context
8And he gave him the covenant of circumcision. So Abraham became the father of Isaac and circumcised him on the eighth day; Isaac was the father of Jacob, and Jacob of the twelve patriarchs. 9The patriarchs, out of jealousy, sold Joseph into Egypt. But God was with him 10and rescued him out of all his troubles. He gave him favor and wisdom before Pharaoh king of Egypt, who put him in charge of Egypt and of his whole household. 11Then famine and great hardship came over all Egypt and Canaan, and our ancestors could find nothing to eat. 12When Jacob heard there was grain in Egypt, he sent our ancestors there a first time.