God destroyed the wicked but saved Noah and his family. Genesis 7:11, 12, 23
It rained for 40 days and 40 nights, and the water covered all the earth. All the wicked people died.
The rebellious angels left their bodies of flesh and became demons.
Those who were in the ark survived. Though Noah and his family eventually died, God will bring them to life again with the prospect of living forever.