Specially when you live in a country like Qatar where you interact with many nationalities and happen to see a majority of x nationality possessing similar negative characteristics, you can then fall into generalization and racism. What you need then is to keep a check on your emotions at such times which may not be easy!