Germs/viruses invade a living body and may consume tissues or do damage until the body dies then the 'bugs' themselves cannot continue to thrive and die as well.
If humans continue to consume and damage the earth environment at a certain pace the earth will eventually die and us as well..