Foreign workers do not "take you job" so much as workers expect too much pay for their performance. If I own a manufacturing business, then I want workers who show up on time, work diligently, do their job correctly and pay attention to detail. Whomever meets those criteria and works at the lowest wage will get the job. If resident/visa holder Jose and citizen Bob both fit that criteria, but Jose works for half the pay, then why would I hire Bob? Likewise, if I can set up a manufacturing plant in India for less money than I could here and get the same quality product, then why would I remain here?
Some people thrive on competition, because it makes them better. Some people despise it, because it forces them to improve, rather than sit on their duff and watch tv.