The earth is both gaining mass and losing mass at the same time
We are losing gases and energy (hydrogen, helium, radioactive decay)
Concurrently, we are aggregating cosmic dust, micrometeorites, meteoroids, and the occasional larger body
Overall a tiny loss
Right, I know that. But that’s not the point.