Genesis 41:1-25 NKJV
Then it came to pass, at the end of two full years, that Pharaoh had a dream; and behold, he stood by the river. Suddenly there came up out of the river seven cows, fine looking and fat; and they fed in the meadow. Then behold, seven other cows came up after them out of the river, ugly and gaunt, and stood by the other cows on the bank of the river. And the ugly and gaunt cows ate up the seven fine looking and fat cows. So Pharaoh awoke. He slept and dreamed a second time; and suddenly seven heads of grain came up on one stalk, plump and good. Then behold, seven thin heads, blighted by the east wind, sprang up after them. And the seven thin heads devoured the seven plump and full heads. So Pharaoh awoke, and indeed, it was a dream. Now it came to pass in the morning that his spirit was troubled, and he sent and called for all the magicians of Egypt and all its wise men. And Pharaoh told them his dreams, but there was no one who could interpret them for Pharaoh.
Then the chief butler spoke to Pharaoh, saying: “I remember my faults this day. When Pharaoh was angry with his servants, and put me in custody in the house of the captain of the guard, both me and the chief baker, we each had a dream in one night, he and I. Each of us dreamed according to the interpretation of his own dream. Now there was a young Hebrew man with us there, a servant of the captain of the guard. And we told him, and he interpreted our dreams for us; to each man he interpreted according to his own dream. And it came to pass, just as he interpreted for us, so it happened. He restored me to my office, and he hanged him.”
Then Pharaoh sent and called Joseph, and they brought him quickly out of the dungeon; and he shaved, changed his clothing, and came to Pharaoh. And Pharaoh said to Joseph, “I have had a dream, and there is no one who can interpret it. But I have heard it said of you that you can understand a dream, to interpret it.”
So Joseph answered Pharaoh, saying, “It is not in me; God will give Pharaoh an answer of peace.”
Then Pharaoh said to Joseph: “Behold, in my dream I stood on the bank of the river. Suddenly seven cows came up out of the river, fine looking and fat; and they fed in the meadow. Then behold, seven other cows came up after them, poor and very ugly and gaunt, such ugliness as I have never seen in all the land of Egypt. And the gaunt and ugly cows ate up the first seven, the fat cows. When they had eaten them up, no one would have known that they had eaten them, for they were just as ugly as at the beginning. So I awoke. Also I saw in my dream, and suddenly seven heads came up on one stalk, full and good. Then behold, seven heads, withered, thin, and blighted by the east wind, sprang up after them. And the thin heads devoured the seven good heads. So I told this to the magicians, but there was no one who could explain it to me.”
Then Joseph said to Pharaoh, “The dreams of Pharaoh are one; God has shown Pharaoh what He is about to do
NKJV: New King James Version