Genesis 41:37-46 New King James Version (NKJV)
Joseph’s Rise to Power
37 So the advice was good in the eyes of Pharaoh and in the eyes of all his servants. 38 And Pharaoh said to his servants, “Can we find such a one as this, a man in whom is the Spirit of God?”
39 Then Pharaoh said to Joseph, “Inasmuch as God has shown you all this, there is no one as discerning and wise as you. 40 You shall be over my house, and all my people shall be ruled according to your word; only in regard to the throne will I be greater than you.” 41 And Pharaoh said to Joseph, “See, I have set you over all the land of Egypt.”
42 Then Pharaoh took his signet ring off his hand and put it on Joseph’s hand; and he clothed him in garments of fine linen and put a gold chain around his neck. 43 And he had him ride in the second chariot which he had; and they cried out before him, “Bow the knee!” So he set him over all the land of Egypt. 44 Pharaoh also said to Joseph, “I am Pharaoh, and without your consent no man may lift his hand or foot in all the land of Egypt.” 45 And Pharaoh called Joseph’s name Zaphnath-Paaneah. And he gave him as a wife Asenath, the daughter of Poti-Pherah priest of On. So Joseph went out over all the land of Egypt.
46 Joseph was thirty years old when he stood before Pharaoh king of Egypt. And Joseph went out from the presence of Pharaoh, and went throughout all the land of Egypt.