Biologists are split on this point. A lot of scientists regard natural selection as one of the means through which God accomplishes his ends in the world.