If it’s not a free market (free from government interference) as you seem to describe, then of course you’ll have all kinds of economic woes - the kind we have had.
However a truly free market is self-correcting - supply and demand run by the voluntary cooperation between buyer and sellers looking out for their own self interests - and without trying, benefits everyone.
Too many have been had by Keynesian economics which is why England and socialist states are your truly facile economies.
And you lay out the classic problem with free traitors. They favor open borders no matter the effect upon the American society.
This is a new concept and our nation was not built on the concept that everyone on earth has a right to work here.
Dress it up however you want, it’s un-American to hire a foreigner, make the American employee train their replacement, and then fire the American. The “free market” being placed before our survival as a nation is a terrible mistake.