Darwin’s theory suggests that there is some evolutionary advantage towards beetles because they can use camouflage as a defense strategy against predators.
Some individuals are more likely to survive and reproduce than others because they are fit and easily adapting. This idea is called 'survival of the fittest'.