After two whole years, Pharaoh dreamed that he was standing by the Nile, and there came up out of the Nile seven sleek and fat cows, and they grazed in the reed grass. Then seven other cows, ugly and thin, came up out of the Nile after them and stood by the other cows on the bank of the Nile. The ugly and thin cows ate up the seven sleek and fat cows. And Pharaoh awoke. Then he fell asleep and dreamed a second time; seven ears of grain, plump and good, were growing on one stalk. Then seven ears, thin and blighted by the east wind, sprouted after them. The thin ears swallowed up the seven plump and full ears. Pharaoh awoke, and it was a dream. In the morning his spirit was troubled, so he sent and called for all the magicians of Egypt and all its wise men. Pharaoh told them his dreams, but there was no one who could interpret them to Pharaoh.
Then Pharaoh sent for Joseph, and he was hurriedly brought out of the dungeon. When he had shaved himself and changed his clothes, he came in before Pharaoh. And Pharaoh said to Joseph, “I had a dream, and there is no one who can interpret it. I have heard it said of you that when you hear a dream you can interpret it.” Joseph answered Pharaoh, “It is not I; God will give Pharaoh a favorable answer.”
Then Joseph said to Pharaoh, “Pharaoh’s dreams are one and the same; God has revealed to Pharaoh what he is about to do. The seven good cows are seven years, and the seven good ears are seven years; the dreams are one. The seven lean and ugly cows that came up after them are seven years, as are the seven empty ears blighted by the east wind. They are seven years of famine.