If the Book of Revelation is the Book of Sevens, then Genesis 41 is the Chapter of Sevens.
There are seven well-fed cows, and seven gaunt cows.
There are seven plump heads of grain on one stalk, and seven thin heads.
The seven well-fed cows represent seven years of plenty, and the seven gaunt cows represent seven years of famine.
The seven plump heads of grain represent seven years of plenty, and the seven thin heads represent seven years of famine.
God gave a dream of the cows to Pharaoh of Egypt to show what was coming, and God gave a second dream to show the same seven years of plenty and the same seven years of famine.
In Genesis 41.32, Joseph explained to Pharaoh why God gave two dreams about the same events,
“And the dream was repeated to Pharaoh twice because the thing is established by God, and God will shortly bring it to pass” (Genesis 41.32).
Since God repeated the dreams, and since God was setting the whole thing up, there is no doubt that He had something special in mind with the number seven, showing a complete cycle of events that He used to free Joseph from prison, to place him in a position of power by interpreting the dreams for Pharaoh, and that Joseph might bring his family to Egypt until such time that the Lord would prepare the Land of Canaan for the Israelites.
The sevens in this case show God working in world events, manipulating them for His own purposes.