“Yahweh saw that the wickedness of mankind was great in the earth, and that every inclination or imagination of the thoughts of their hearts was only continually evil. Yahweh was sorry that he had made mankind on the earth. It grieved him to his heart. So Yahweh said, ‘I will blot out from the earth the human beings that I have created. This includes people together with animals and creeping things and birds of the air. I am sorry that I have made them.’”
The humans were evil and Yahweh was sorry that he had made them. So he decided to get rid of them all, including the animals and birds, as if they were somehow related to the humans and their evil ways. The earth was corrupt and filled with violence, a theme heard among some Christians today.
“But Noah found favor in the eyes of Yahweh. These are the generations of Noah. Noah was a righteous man, blameless in his generation. Noah walked with God. His three sons were Shem, Ham, and Japheth. Now the earth was corrupt in God’s sight, and the earth was filled with violence. And God saw that the earth was corrupt. All flesh had corrupted their ways upon the earth.”
Noah, the son of Lamech, with his three sons Shem, Ham, and Japheth, were the exception, because he was a just man in the sight of Yahweh. It is not clear why Noah is so good, but apparently, his brothers and sisters were not that very nice either.