Selection inevitably

Selection inevitably

Why selection inevitably favors any gene that is good at getting into the next generation, regardless of whether that gene helps or hurts the ecosystem, the species, the group, or even the individual?