he warned pharaoh that there would be seven years of famine and pharaoh was able to store food and preparehe saved the entire nation , vicar guiscard continued after realizing a flaw in his reasoning , but , alas , they had time to prepare .