In killing Jesus, Satan though he had won. But in reality, when Jesus died, Satan cast out Satan. Jesus defeated Satan at his own game. Jesus died at hell’s gates so that He might ride through them in victory.
In seeking to understand what is going on in the account of the flood and why the waters that came upon the earth, we must understand the ANE cosmology. The waters of the flood cause the world to revert the the chaos of a pre-creation state. The flood reveals cosmic warfare between God and Yamm, the god of chaos and storms.