Then who or what is it for? Who cares about the earth if humans don't benefit? It's just a floating rock.
"If a tree falls in a forest"
This is not directed at you personally, but the view that humans are all that matters is a kind of species narcissism. In fact, we derive all sorts of benefits from other species, such that if all of them were to disappear, so would we.
We gain a ton of benefits from other animals, obviously. But if we don't exist, then those animals no longer matter. We wouldn't benefit from them anymore. Anyway, this is getting a bit in the weeds.