“and spared not the old world, but saved Noah the eighth person, a preacher of righteousness, bringing in the flood upon the world of the ungodly; and turning the cities of Sodom and Gomorrha into ashes condemned them with an overthrow, making them an ensample unto those that after should live ungodly;”
2 Peter 2:5-6 KJV
https://bible.com/bible/1/2pe.2.5-6.KJV