Everybody knows eugenics would function but is it moral?
No.
If we allowed sex with children we wouldn't have any predatory pedophiles who kidnap or rape children but is it moral?
No.
We can continue.
If rape was allowed men wouldn't be so desperate, but is it moral?
No.
and so on.