Genesis 41:25-27
Then Joseph said to Pharaoh, "The dreams of Pharaoh are one and the same. God has revealed to Pharaoh what he is about to do.
The seven good cows are seven years, and the seven good heads of grain are seven years; it is one and the same dream.
The seven lean, ugly cows that came up afterward are seven years, and so are the seven worthless heads of grain scorched by the east wind: They are seven years of famine.