The reason Pharaoh has had a recurring dream is because the matter has been definitely decided by God, and he will do it very soon.
"Pharaoh should look for a wise and intelligent man and put him in charge of Egypt.
Make arrangements to appoint supervisors over the land to take a fifth of Egypt's harvest during the seven good years.
Have them collect all the food during these good years and store up grain under Pharaoh's control, to be kept for food in the cities.
This food will be a reserve supply for our country during the seven years of famine that will happen in Egypt. Then the land will not be ruined by the famine."
Pharaoh and all his servants liked the idea.
So Pharaoh asked his servants, "Can we find anyone like this--a man who has God's Spirit in him?"
Then Pharaoh said to Joseph, "Because God has let you know all this, there is no one as wise and intelligent as you.
You will be in charge of my palace, and all my people will do what you say. I will be more important than you, only because I'm Pharaoh."
Then Pharaoh said to Joseph, "I now put you in charge of Egypt."
Then Pharaoh took off his signet ring and put it on Joseph's finger. He had Joseph dressed in robes of fine linen and put a gold chain around his neck.