Genesis 41:45-52 New King James Version (NKJV)
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. 47 Now in the seven plentiful years the ground brought forth abundantly. 48 So he gathered up all the food of the seven years which were in the land of Egypt, and laid up the food in the cities; he laid up in every city the food of the fields which surrounded them. 49 Joseph gathered very much grain, as the sand of the sea, until he stopped counting, for it was immeasurable.
50 And to Joseph were born two sons before the years of famine came, whom Asenath, the daughter of Poti-Pherah priest of On, bore to him. 51 Joseph called the name of the firstborn Manasseh: “For God has made me forget all my toil and all my father’s house.” 52 And the name of the second he called Ephraim: “For God has caused me to be fruitful in the land of my affliction.”