There's a large amount of the economy that I'd consider a net negative for society - advertising and the industries created to convey it (radio, TV, most websites), credit cards, junk food, sales, etc. There are also a lot of cases where increased input doesn't seem to make people happier off. For instance, a lot of work goes into making special effects better than they were decades ago, but doesn't necessarily mean an audience in 2021 is going to enjoy movies more than an audience in 2000 did.
As a society we should probably spend a lot more time talking about where our economic output is going, and if it's going towards the things we actually want it to.
The value Facebook gets out of Facebook may well be obtained in questionable ways, but the fact is the service itself creates tons of value and utility for hundreds of millions of people. And yes I’m sure it causes some harm as well, definitely, but it’s not as simple as you make it out.
Perhaps the utility of Facebook isn't zero, but I certainly think the harm (has led to genocide in some countries like Myanmar) far out weighs the benefits.
You can have a job where you feel useful and valuable without changing the world.
There are also jobs where you are being very useful, but it's arguably not good for society at large. You've got companies like FB that exist to just sell user data and serve ads and in HFT that milk ever penny out of the stock market where the speed of light isn't competitive enough for them, so they have to be as close to the exchanges as possible. Valuable to the company, but not through a bigger picture lens. Even worse, those companies have absorbed some of our best and brightest STEM graduates for years and prevented them from solving more noble pursuits.