By any rational standard, an organism that is incapable of reproducing has failed natural selection and is a genetic error.
I think maybe your understanding of genetics is overly simplistic. How do you think hyper-social species like ants and bees have evolved? Most individuals in these species are not directly involved in reproduction at all.