Yes, a Great Flood, after which, Universal Springtime disappeared because the water canopy that protected earth, was broken by God’s anger with man, saving only Noah and his family and the animals within the Ark.
You are right about that.
But there was an even bigger reason for God to wipe out everyone but Noah’s family. Read Genesis 6:1-4. The sons (with a small s) of God it speaks of were divine beings or fallen angels who co-habited with humans. Their offspring produced giants who practiced gross sin in the world. This caused God to send the Flood to destroy this “unhuman” DNA.