and delivered him out of all his afflictions, and gave him favour and wisdom before Pharaoh, sovereign of Mitsrayim. And he appointed him governor over Mitsrayim and all his house.