The Old Testament version of a world flood is younger than the first written version of the world flood story, from Babylon. If you believe something and nonfactual, so be it.
Are you referring to the first flood which made the earth without land and void or the second flood of Noah’s time.?