Talking about "goals" and "desires" can sometimes be a usefully simplified way to think about biology, but it's not really accurate. A bacterium doesn't "want" to reproduce anymore than a rock "wants" to roll downhill. Only quite complex animals can be truly said to have goals.