* Evolution works at the level of genes, not individuals. It will select for short-term reproductive success at the expense of longevity or quality of life.
* All living things evolve to avoid being eaten (at least while they have the potential to reproduce or aid the reproduction of their kin).
* Animals primarily defend against being eaten by fleeing or fighting. These defenses can be 100% neutralized by killing the animal.
* Plants primarily defend against being eaten by producing toxins. These defenses can be neutralized by metabolism, but evolution has no incentive to select for 100% neutralization. If 100% neutralization of plant toxins is difficult then dying young with a lot of children might be a better strategy.
However, there are plants that defend with spines/shells/hiding underground, and plants that produce fruit to attract animals for seed distribution, all of which change the selection pressure for toxin production, and any food may be healthful or harmful purely as a spandrel (a byproduct of evolution of some other characteristic). There are examples of human populations maintaining good health on a wide variety of different diets, so as is usually the case with nutrition, there are no clear answers.