Prejudice is not a symptom of stupidity. Nor is it a symptom of evil. It is merely a symptom of ignorance.
The point of racism is to dehumanize those targeted by the racism. Violence as a reaction to injustice provides ammunition to racists.