"A young Hebrew servant was there with us. He was a servant of the captain of the guard. We told him our dreams. And he explained them to us. He told each of us the meaning of our dreams.
Things turned out exactly as he said they would. I was given back my position. The other man had a pole stuck through his body."
So Pharaoh sent for Joseph. He was quickly brought out of the prison. Joseph shaved himself and changed his clothes. Then he came to Pharaoh.
Pharaoh said to Joseph, "I had a dream. No one can tell me what it means. But I've heard that when you hear a dream you can explain it."
"I can't do it," Joseph replied to Pharaoh. "But God will give Pharaoh the answer he wants."
Then Pharaoh told Joseph what he had dreamed. He said, "I was standing on the bank of the Nile River.
Seven cows came up out of the river. They were fat and good-looking. They were eating the tall grass that was growing along the river.
"After them, seven other cows came up. They were bony and very ugly and thin. I had never seen such ugly cows in the whole land of Egypt.
"The thin, ugly cows ate up the seven fat cows that came up first.
But even after the thin cows ate up the fat ones, no one could tell that they had eaten them. They looked just as ugly as before. Then I woke up.
"In my dreams I also saw seven heads of grain. They were full and good. They were all growing on one stem.
"After them, seven other heads of grain came up. They were weak and thin and dried up by the east wind.
"The thin heads of grain swallowed up the seven good heads. I told my dreams to the magicians. But none of them could explain them to me."
Then Joseph said to Pharaoh, "Both of Pharaoh's dreams have the same meaning. God has shown Pharaoh what he is about to do.
The seven good cows are seven years. And the seven good heads of grain are seven years. Both dreams mean the same thing.
"The seven thin, ugly cows that came up later are seven years. So are the seven worthless heads of grain that were dried up by the east wind. They are seven years when there won't be enough food.
"It's exactly as I said to Pharaoh. God has shown Pharaoh what he's about to do.
Seven years with plenty of food are coming to the whole land of Egypt.
"But seven years when there won't be enough food will follow them. Then everyone will forget about all of the food Egypt had. Terrible hunger will destroy the land.
There won't be anything left to remind people of the years when there was plenty of food in the land. That's how bad the hunger that follows will be.
"God gave the dream to Pharaoh in two forms. That's because the matter has been firmly decided by God. And it's because God will do it soon.
"So Pharaoh should look for a wise and understanding man. He should put him in charge of the land of Egypt.
"Pharaoh should appoint officials to be in charge of the land. They should take a fifth of the harvest in Egypt during the seven years when there's plenty of food.
They should collect all of the extra food of the good years that are coming. Pharaoh should give them authority to store up the grain. They should keep it in the cities for food.
"The grain should be stored up for the country to use later. It will be needed during the seven years when there isn't enough food in Egypt. Then the country won't be destroyed just because it doesn't have enough food."
The plan seemed good to Pharaoh and all of his officials.
So Pharaoh said to them, "The spirit of God is in this man. We can't find anyone else like him, can we?"
Then Pharaoh said to Joseph, "God has made all of this known to you. No one is as wise and understanding as you are.
You will be in charge of my palace. All of my people must obey your orders. I will be greater than you only because I'm the one who sits on the throne."
So Pharaoh said to Joseph, "I'm putting you in charge of the whole land of Egypt."
Then Pharaoh took his ring off his finger. It was the ring he used to stamp all of the official papers. He put it on Joseph's finger. He dressed him in robes that were made out of fine linen. He put a gold chain around his neck.
He also had him ride in a chariot. Joseph was now next in command after Pharaoh. People went in front of him and shouted, "Get down on your knees!" By doing all of those things, Pharaoh put Joseph in charge of the whole land of Egypt.
Then Pharaoh said to Joseph, "I am Pharaoh. But without your word, no one will do anything in the whole land of Egypt."
Pharaoh gave Joseph the name Zaphenath-Paneah. He gave him a wife. She was Asenath, the daughter of Potiphera. Potiphera was the priest of On. Joseph traveled all over the land of Egypt.