How did bible say something before it's writing?

To be simple, There was meteorite strking earth to north america and make climate changed. Middle east was only place to suit humen's living.

So humen gather there as walking dead.

How did bible say something before it's writing?
Post Opinion