That's a very reductionist view of economy. For starters, it ignores the entire services sector, which is like half of GDP of most developed capitalist countries. Services are an extremely clear example of positive sum - no resources disappeared from the world, as much money was gained as was spent, but on top of it somebody got something of value.
You should read about Baumol cost disease if you want to understand why what you just said is totally misguided
https://en.wikipedia.org/wiki/Baumol_effect
If I pay somebody to dig a ditch and I pay somebody else to fill it in was something of value created? Unequivocally no.
Whether or not that allowed somebody to survive and feed their family is entirely orthogonal to the question of the zero-sum nature of the universe
Nothing is free
energy comes from somewhere and you have to eat food which takes from the environment, that somebody else can’t eat or some other process can’t utilize, so by a function of your existence you cost energy to maintain that would’ve otherwise gone to some other mechanical process
No free lunch theorem describes this mathematically and you can go all day reading about that