Being afraid that your job will be taken away by "overseas workers," besides its vaguely racists and xenophobic connotations, is just the latest flavor of a very old fear.
Back in the days of the industrial revolution, it was automation that was going to take away the jobs. And in a sense, it did. But the population of (for example) the United States is larger today than at any time in its history, and most people still have jobs. Whahoppen? And yet now some of the people who weren't even alive during the industrial revolution are worried that robots and other machines will take their jobs away. Or foreigners.
The best wait I can explain it is that you should never approach an employers with the idea that you are a consumer asking the employer to give you something, in this case a job. You should think of yourself a a business resource -- which is what you are, and in fact the most valuable one that exists on the planet. When you apply for a job, you are OFFERING an employer something. You are not the consumer. You are a supplier. So as an autonomous resource who has control of your own destiny, how do you increase your own value so that you are more attractive to your current and future employers? It ain't gonna happen by you taking a job and then sitting down at your desk and pretending you're going to do the same job for the rest of your life.
If you're afraid that you've got the kind of job that your employer could just hand to somebody else tomorrow -- somebody you've never met, somebody who's never met anybody on your team, somebody who maybe doesn't even speak the same language as you -- then my first question is, don't you like money? Why are you in that job, when it can't be worth what they pay you for it and you could already be doing a lot better for yourself.
A lot of tech workers seem to get confused and think their value to their employer is in the skills they have. That's true, partly. But I'd say at least half of being successful at any job -- and maybe even 80 percent -- involves interpersonal skills. How well do you work within the team? How able are you to anticipate what the business needs and act on that? In cases where there's a leadership vacuum, can you fill it? And then when it's time to follow directions, can you still do it?
Or how about this one: Do you LIKE your job? Do you show up every morning feeling good and ready for work, because you feel like what you do for a living is something worth doing? I've talked to a lot of people who don't feel that way, and honestly I feel like a lot of that is on THEM. Going back to the idea that you're not a customer, you're a supplier
Do that, and you're already ahead of the game. When you're in a job where your real value is not to some nebulous economic concept, but to the people who make up your business, then you're in a pretty good spot. You can outsource Worker X but you can't outsource Dave Johnson, because there's only one of him.
So don't be Worker X. Maybe it sounds glib, but that's really the whole game. That's your life.