And the patriarchs, moved with envy, sold Joseph into Egypt: but God was with him, and delivered him from all his afflictions, and gave him favor and wisdom in the sight of Pharoah, king of Egypt: and he made him governor over Egypt, and his whole house.