What I mean is unless your ideal is autarky or USSR under Joseph Stalin, it is hypocritical or ingenuous to expect having a market where you can sell goods and services worldwide but not allowing workers applying and getting jobs worldwide for same companies. That is called free market.
So if you happen to think you are missing jobs because they are given to people living in another country, you also have the choice to play by the same rules, relocate there and apply for the same job. Or ask for a lower salary where you already are to be competitive. This is fair competition.