Genesis 6
5 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 createdand with them the animals, the birds and the creatures that move along the groundfor I regret that I have made them.
Genesis 6, is about sin, death and redemption.
God is consistent: sin causes death, their is redemption available.