People won't remember that there once was plenty of food in the land, because the coming famine will be so severe.
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."