It's not a secret that the Earth's climate has changed significantly over the millennia.
There's good evidence that the pyramids were built while the Sahara was green, but that doesn't prove anything about floods, so the whole premise here is very faulty.