Not everyone thinks this, but I know an extreme right-winger who thinks this. He is also a conspiracy theorist who thinks non-white people are out to get white people so, yeah, odd.
Not every immigrant is illegal or bad. I know a girl who didn’t speak English for 3 years when her family legally immigrated, so of course she’s been told this.
It’s called manifest destiny and it’s part of the propaganda machine that’s been worked on us since before all of us were born.