They say all stories, myths, legends, old wives tales or whatever has a grain of truth.

As far as I can see religion is no different.

I've read stories before saying floods happened in the places that are history now.

The point about people not straying far from home explains why they would think the whole world flooded and that they had all the animals they knew of.