Two years later, Pharaoh dreams of seven beautiful, fat cows coming up out of the river, devoured by seven ugly, thin cows, and then of seven full, good ears of grain swallowed by seven thin ears scorched by the east wind. The wise men of Egypt cannot interpret them. Then the cupbearer remembers Joseph and tells how he interpreted his dream and the baker's.
Joseph is brought out of prison, shaves, changes his clothes and appears before Pharaoh. When Pharaoh says he has heard that Joseph can interpret dreams, Joseph answers that it is not in him, but that God will give Pharaoh a favorable answer. Joseph explains that the two dreams are one: God is showing Pharaoh what he is about to do. Seven years of great plenty will be followed by seven years of famine so severe that the plenty will be forgotten. The dream was repeated because the matter is firmly decided by God.
Joseph advises Pharaoh to look for a discerning and wise man to store a fifth of the grain during the good years. Pharaoh answers that there is no one like Joseph, in whom is the Spirit of God, and appoints him over all the land of Egypt. He gives him his signet ring, garments of fine linen, a gold chain and a chariot, and gives him the name Zaphenath-paneah. He gives him Asenath, daughter of Potiphera, priest of On, as his wife. Joseph is thirty years old. He goes through Egypt and stores up grain. Before the famine two sons are born to him: Manasseh and Ephraim. When the famine comes, Joseph opens the storehouses, and people from every country come to Egypt to buy grain.