If you can convince the lowest white man he's better than the best colored man, he won't notice you're picking his pocket. Hell, give him somebody to look down on, and he'll empty his pockets for you.
Lyndon B. Johnson
It works for poor versus rich too. Convince their depressed earnings are due to immigrants, etc. and they'll attack them and (not us rich folks). It's a redirection by the rich.