The Upper Egyptian Famine Stela (see image below video clip), dating from the Ptolemaic period, bears an inscription containing a legend about a famine of seven years during the reign of Djoser. Imhotep is credited with having been instrumental in ending it. One of his priests explained the connection between the god Khnum and the rise of the Nile to the king, who then had a dream in which the Nile god spoke to him, promising to end the drought. To explore this topic in depth see: Is Imhotep Joseph? at Biblical Chronologist.