There is a huge difference between the fate of the false teachers and the fate of the righteous. While He brings judgment on the false teachers, God has given His children an undefiled and unfading inheritance.
Genesis 6 documents the radical measures God took to address increasingly rampant human wickedness and preserve a godly remnant of people for Himself, through one family.