They are discriminated against for the most part, but that doesn't justify their behaviour.
I've faced discrimination when I was traveling around western Europe in the second half of the nineties. It was mostly benign and small scale but it was noticeable, and enough to make me uncomfortable. And I was only traveling around as a tourist, so I tried and for the most part succeeded in ignoring it, but maybe it wouldn't have been so easy if I was facing it everyday for a prolonged period of time.
So, those are two separate issues. A country shouldn't be blamed for failed individuals. It depends on the country, of course, but most western countries care about the people. That doesn't mean that countries shouldn't try ever harder to help integrate people into society.
Bookmarks