Genesis 41:45-46 (Webster)
45 And Pharaoh called Joseph's name Zaphnath-paaneah; and he gave him for a wife Asenath the daughter of Poti-pherah priest of On: and Joseph went over all the land of Egypt.
46 And 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.
About Genesis 41: This chapter finds Joseph in the heart of Egypt, two years after being forgotten by the cupbearer. Pharaoh has two troubling dreams that no wise man can explain. Joseph is brought from prison to stand before the ruler of the world. He makes it clear that God, not he himself, holds the answer. Read the study notes
2 verses · Compare in parallel · Read all of Genesis 41