Genesis 41:39-45 New Revised Standard Version (NRSV)
39 So Pharaoh said to Joseph, “Since God has shown you all this, there is no one so discerning and wise as you. 40 You shall be over my house, and all my people shall order themselves as you command; only with 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 Removing his signet ring from his hand, Pharaoh put it on Joseph’s hand; he arrayed him in garments of fine linen, and put a gold chain around his neck. 43 He had him ride in the chariot of his second-in-command; and they cried out in front of him, “Bow the knee!”[a] Thus he set him over all the land of Egypt. 44 Moreover Pharaoh said to Joseph, “I am Pharaoh, and without your consent no one shall lift up hand or foot in all the land of Egypt.” 45 Pharaoh gave Joseph the name Zaphenath-paneah; and he gave him Asenath daughter of Potiphera, priest of On, as his wife. Thus Joseph gained authority over the land of Egypt.