Why do people keep saying this? This is a huge misconception. The economy IS zero sum.
Energy and physical resources are limited. When one person uses a limited resource, than another person will be unable to use that same resource. This is a Zero Sum.
I've heard people say that seemingly "unlimited" products like an idea, a painting or an abstract idea can be created out of thin air and because of this the economy is not zero sum. Well guess what? Have you ever heard of an economy that can exist while thriving only on abstract ideas and pieces of art? No. All economies thrive on energy and physical resources while abstraction only sits on top of these things as a luxury. AKA: A farmer can feed himself with his own crops, but an artist cannot survive without trading his painting with a farmer for food.
Another cop out people use is that although the sun is technically a limited resource (it will burn out one day), it is seemingly unlimited because it outputs more energy then humanity will ever need or comprehend. This argument is flawed too. We are limited by the amount of energy we can extract from the sun. There will always be a limit to the amount of energy we extract from the sun due to fundamental limits in technology and physics.
It gets worse than this, because technically speaking you are correct.. the economy is not zero sum, it's actually a negative sum. When you add up the numbers there will always be a net loss for all economic actors. The second law of thermodynamics dictates that even if an economic agent doesn't extract or use a resource, the resource on it's own will eventually, slowly degrade into an unusable state.