And it came to pass at the end of two full years, that Pharaoh dreamed: and, behold, he stood by the river. Genesis 41:1
Now remember from the last Chapter , God gave Joseph the ability or knowledge to interpret dreams/visions. Remember when Joseph interpreted the cupbearers dream, he asked him to remember him to put a good word in with the Pharaoh. And originally the cupbearer forgot Joseph even existed until now.
Pharaoh had a disturbing dream and he was immediately looking for answers. Unfortunately none of his “magicians” or “wise men” could interpret the dream. However the cupbearer remembered Joseph
Then Pharaoh sent and called Joseph, and they brought him hastily out of the dungeon: and he shaved himself, and changed his raiment, and came in unto Pharaoh. Genesis 41:14
As soon as Pharaoh heard about Joseph he sent for him immediately. Pharaoh was very disturbed by these dreams and wanted answers! But notice Josephs response he says “I cant interpret your dream but God can” (Genesis 41:16) Joseph wasn’t stealing the glory from God. He admitted that he was Gods vessel. How many “Christians” today could learn from this example?
And Pharaoh said unto Joseph, Forasmuch as God hath shewed thee all this, there is none so discreet and wise as thou art: Genesis 41:39
Pharaoh decided he needs to put someone with great wisdom in charge, he said since Joseph has the “Spirit of God” (Genesis 41:38) he should be in charge over all of Egypt
Now think about this for a second, Joseph who was a Hebrew slave and a prisoner, is now ruler over all of Egypt. This is all because Joseph relied on Gods wisdom and power and not his own
Notice the foreshadows of Christ, Jesus was the suffering servant for our sins and became the King of Kings.