If you're talking about the flood in Genesis, there's some subtleties there that may indicate a polluted gene pool. Remember that angels cross bred with humans at some point prior, and Noah was described as being "blameless" or "pure" in his "generations" (lineage?)
As to why an omniscient creator would want to keep His stock of humans pure, I will leave for a different venue.