This is the standard trite response. But it isn't that simple. Businesses can't just pay everyone arbitrarily high salaries and stay in business. Sometimes if a job can't be filled at a certain salary level, it is better to eliminate the position than to pay more.
There is nothing arbitrary about it, it's basic supply and demand. If there's a skill shortage the price goes up. If it goes up enough supply will increase (people training for and moving to that sector) which will either stabilize or bring down prices again
The problem is, these so called capitalists/free marketers don't like the market when it costs them and try to circumvent it, either by paying off politicians for tax cuts to make offshoreing more viable or by either abusing existing visa regulation so they can import cheap labor or once again paying off politicians to change the regulations to suit themselves
Which in turn reduces prices locally, which means less people enter the market, which starts to once again generate a skills shortage, but instead of market forces being allowed to play out, for the capitalists it's back once again to the politicians with money in hand
Down the road we are going there will soon be no one left locally with the skills because they have been undercut so much that they will better off working at McDonald's flipping burgers