The Lord saw how great the wickedness of the human race had become on the earth, and that every inclination of the thoughts of the human heart was only evil all the time. 6 The Lord regretted that he had made human beings on the earth, and his heart was deeply troubled. 7 So the Lord said, “I will wipe from the face of the earth the human race I have created—and with them the animals, the birds and the creatures that move along the ground—for I regret that I have made them.”
We’re still here.
It’s not all humankind, nor is it men in and of themselves He’s against. It’s against evil, which He has always been opposed to.
Do evil, and you will find yourself on the losing and against a just God. Sin must be punished for justice to be done. But He would rather that men repented and turned to Him than that He should destroy them.