The sun and moon were not made until the fourth day. So four of the six days could not have been literal evening and morning as are determined by the rotation of the earth in the sunlight. In it, God has rested. Chapter Four of Hebrews deals with that day of rest. The seventh-day rest must be considered with limited meaning, for no one concludes that God has been totally inactive in dealing with man and the universe through the centuries.
Allegories involve metaphorical depictions and unreal representations.
Hagar and Sarah are said to be two covenants with Hagar being Mount Sinai and Sarah being Jerusalem. Lazarus is said to have gone to Abraham's bosom after death as though Abraham were in charge of departed spirits. This Lazarus, not the man from Bethany, evidently was an allegorical character who depicted the Gentiles, while the rich man represented the rejecting Jews. Lazarus and the rich man were depicted as conversing across the chasm which separated the saved and the damned in the afterlife. In drilling for oil, fossils are found thousands of feet below the ground surface.