and rescued him from all his afflictions. He granted him favor and wisdom before Pharaoh, the king of Egypt, who put him in charge of Egypt and [of] his entire household.