Earlier quoted context omitted.
Which is one of the worst examples ever. It was so highly politizised at the time. But you have point, it actually helped to form a certain narrative and a lot of people followed that narrative.
How is it a bad example? From Wikipedia itself... > On 7 June, a Federal Criminal Police Office report confirmed that most of the perpetrators were of North African origin and had arrived in Germany during the European migrant crisis. Investigative results about the perpetrators were congruent with witnesses' statements.[48]
I'll leave it to you to research crime numbers like rape, theft andn such for carneval in Cologne or the Oktoberfest in Munich. Because These are the numbers that provide the context.
Disclaimer: That does not in the slightest way imply that any of These cases are defendable, the least of all rape. Still, context helps to prevent knee-jerk reactions.