Variations are beneficial for the survival of the species. Populations of organisms fill well-defined places, or niches, in the ecosystem, using their ability to reproduce. However, niches can change because of reasons beyond the control of the organisms and could even wipe out the entire population. However, if some variations were to be present in a few individuals in these populations, there would be some chance for them to survive.
For example - If there were a population of bacteria living in temperate waters and suppose the water temperature were to be increased by global warming. Most of these bacteria would die, but the few heat resistant variants would survive and grow further. Variation is thus useful for the survival of species over time.