the book of Genesis is not written allegorical it is literal history.it gives the family tree of Adam.leading up to the second Adam God in the flesh the lamb of God Jesus Christ. the world that was before the flood perished. one day Christ will come again to restore it back.