The second he named Ephraim, "For God has made me fruitful in the land of my misfortunes."
References for Genesis 41:52
The seven years of plenty that prevailed in the land of Egypt came to an end;
and the seven years of famine began to come, just as Joseph had said. There was famine in every country, but throughout the land of Egypt there was bread.
When all the land of Egypt was famished, the people cried to Pharaoh for bread. Pharaoh said to all the Egyptians, "Go to Joseph; what he says to you, do."
And since the famine had spread over all the land, Joseph opened all the storehouses, and sold to the Egyptians, for the famine was severe in the land of Egypt.
References for Genesis 41:56
Moreover, all the world came to Joseph in Egypt to buy grain, because the famine became severe throughout the world.