The seven lean, ugly cows that came up after them are seven years, and so are the seven worthless heads of grain scorched by the east wind — they are seven years of famine.
In context
25Then Joseph said to Pharaoh, “The two dreams of Pharaoh mean the same thing. God has revealed to Pharaoh what he is about to do. 26The seven good cows are seven years, and the seven good heads of grain are seven years — it is the same dream. 27The seven lean, ugly cows that came up after them are seven years, and so are the seven worthless heads of grain scorched by the east wind — they are seven years of famine. 28It is just as I told Pharaoh: God has shown Pharaoh what he is about to do. 29Seven years are coming with great abundance throughout the land of Egypt,