Your claim about how evolution works is totally, 100 percent wrong. Evolution works quite the other way around, in fact.
A population of organisms in an environment to which they are more or less well adapted evolve so as to be better adapted, or the population becomes extinct. A population of organisms does not conciously go looking for an environment to which they are well adapted.
A population that is more or less well adapted will evolve, if indeed that is what the population does, because those individuals within the population having characteristics that give them a reproductive advantage will tend to produce more offspring, which will tend to have the advantageous characteristics, on average, more often than the offspring of those individual organisms that do not have characteristics that give them a reproductive advantage (because they will tend to have fewer offspring in the first place.) Thus, generation after generation, the population as a whole will have more individuals within it that have the advantageous characteristic.