According to the Talmud, the Jewish people only found a single jar of undefiled oil, and that oil was only enough to last a single day. The Jewish people took a leap of faith and relit the menorah. To their surprise, the menorah stayed lit for eight days, which was seven more days than they expected. The Jewish people attributed the surprising amount of time that the oil lasted to God (a miracle).