This seems to have drifted a bit, so let me drift a bit more before tacking back to the OP's gripe.
There seems to be confusion between outsourcing and offshoring. Pretty much every company does some outsourcing. When you buy a car from Ford, it doesn't have Ford tires. It has, perhaps, Goodyear tires. Ford has decided that it's better for them to concentrate on something other than tires, and let Goodyear concentrate on tires. A very common outsourced task is payroll. A huge part of the costs of doing payroll is compliance, and that is a cost that needs to be borne whether you write one check or a million. It's often very cost effective to have your payroll done by a company that specializes in that, in effect sharing your compliance costs with others, rather than to do it all yourself.
Whether to do something in-house or to outsource is a management decision, just like the decision of whether Bob or Mary should do an in-house task is a management decision. If that decision is taken well, the company benefits, and if that decision is taken poorly, the company suffers.
Offshoring is a specific case of outsourcing - going overseas for the work. Ford might decide to use Michelin tires instead of Goodyear. Or they might decide to use "Bob's B-Grade Burmese Tires". High-quality and high-cost have pros and cons, as does low-quality and low-cost. Again, this is a management decision, and if that decision is taken well, the company benefits, and if that decision is taken poorly, the company suffers.
Making these decisions is not easy, and it is surely not as easy as the OP claims. I really like the advice, paraphrasing, "stop complaining - if it's so simple, just start your own business and become a zillionaire".
At the risk of drifting again, back when only blue collar workers were losing their jobs because their work could be done cheaper overseas, the reaction from most of the white-collar workers I know was "well, it's a competitive world, supply and demand and all, we all benefit from lower prices, blah blah blah." Now that it's white collar workers that are getting displaced "this is a national tragedy! We need protection!". Indeed.
Fundamentally, your salary depends on the value you provide to the company. If you want more salary, provide more value. If your job can be done by someone making a third as much, and if focusing on work for eight hours a day is too much for you, are you providing a lot of value to your company?