correct.
if I said "black people are often being stereotyped with crime, so that makes all blacks bad" (ofc I dont think that) everyone would call me racist and hate me for it. but what he says is literally the same.
literally
"not all gang members kill" mf that means you're saying every Muslim is a gang member, which is not true at all. you're chill and i doubt you a gang member