The Bible is clear about who was on the Ark: Noah & his wife, their 3 sons & their wives. I am not 100% certain on whether the human race had corruption (if so, probably Ham's wife) or if the human race was corrupted again after the flood. After Ham looked at and mocked Noah's drunken nakedness, Noah cursed Ham: "So he said, “Cursed be Canaan; A servant of servants He shall be to his brothers.” (Genesis 9:25) I always thought it strange that Canaan was cursed instead of Ham. One theory I heard was that Canaan was cursed because He had nephilim blood. That would explain why the Israelites were told to wipe out the Canaanite people later. It makes sense, but isn't explicit enough to be dogmatic about. Also, God doesn't make mistakes, so it makes me wonder why God allowed the corrupt blood on the Ark, so the corruption might have happened later.
this is a good example of why the apocrypha are worth looking at the detail in Jasher about this exact situation illuminates a lot... and Enoch also mentions his Red Hair and White Skin and no coincidence, probably that Esau exhibits these physical characteristics, i'm sure i don't have to remind you of the Jacob and Esau and their mother and the furry Esau scenario... interestingly, in Jasher, the conniving part of the mother's actions are missing! honestly, on the face of it the plain Genesis version makes Jacob look bad, instead of suggestible, and his mother seems like a straight up Eve i honestly can't make sense of teh story even with 3 different versions, it still seems shady to me but in all three versions the further actions of Esau make it very clear this guy was a piece of shit