How does the theory of evolution disprove the belief that natural selection prepares an organism to adapt to its environment?

Natural selection occurs before changes in the environment.
A population changes in response to a change in the environment.
Environmental changes can be predicted based on changes in a population.
Natural selection leads to the survival of the population with the most complex traits.