Genetics are more complex than that. Someone can pass down a piece of a code that means certain death for generations and nobody will know until it someday merges (by sex) with another rare code that causes it to be expressed.
That’s why so many debilitating genetic diseases have not been “cleared” from the pool.
I understand. Instead of a disease, we are speaking of what would be a code that basically says “Don’t Make More.”