Genesis 41:37-57 NIV
The plan seemed good to Pharaoh and to all his officials. So Pharaoh asked them, “Can we find anyone like this man, one in whom is the spirit of God?” Then Pharaoh said to Joseph, “Since God has made all this known to you, there is no one so discerning and wise as you. You shall be in charge of my palace, and all my people are to submit to your orders. Only with respect to the throne will I be greater than you.” So Pharaoh said to Joseph, “I hereby put you in charge of the whole land of Egypt.” Then Pharaoh took his signet ring from his finger and put it on Joseph’s finger. He dressed him in robes of fine linen and put a gold chain around his neck. He had him ride in a chariot as his second-in-command, and people shouted before him, “Make way!” Thus he put him in charge of the whole land of Egypt. Then Pharaoh said to Joseph, “I am Pharaoh, but without your word no one will lift hand or foot in all Egypt.” Pharaoh gave Joseph the name Zaphenath-Paneah and gave him Asenath daughter of Potiphera, priest of On, to be his wife. And Joseph went throughout the land of Egypt. Joseph was thirty years old when he entered the service of Pharaoh king of Egypt. And Joseph went out from Pharaoh’s presence and traveled throughout Egypt. During the seven years of abundance the land produced plentifully. Joseph collected all the food produced in those seven years of abundance in Egypt and stored it in the cities. In each city he put the food grown in the fields surrounding it. Joseph stored up huge quantities of grain, like the sand of the sea; it was so much that he stopped keeping records because it was beyond measure. Before the years of famine came, two sons were born to Joseph by Asenath daughter of Potiphera, priest of On. Joseph named his firstborn Manasseh and said, “It is because God has made me forget all my trouble and all my father’s household.” The second son he named Ephraim and said, “It is because God has made me fruitful in the land of my suffering.” The seven years of abundance in Egypt came to an end, and the seven years of famine began, just as Joseph had said. There was famine in all the other lands, but in the whole land of Egypt there was food. When all Egypt began to feel the famine, the people cried to Pharaoh for food. Then Pharaoh told all the Egyptians, “Go to Joseph and do what he tells you.” When the famine had spread over the whole country, Joseph opened all the storehouses and sold grain to the Egyptians, for the famine was severe throughout Egypt. And all the world came to Egypt to buy grain from Joseph, because the famine was severe everywhere.