So it's okay to jail and sterilise innocent people for the actions of a small number of people of the same ethnicity? Anyone who believes that is a truly horrible person, a monster who deserves to suffer the greatest pains in life, and I'd wish every misery upon them. I'd say the same thing about anyone who believes the American slaughter of innocent children in the middle east was justified, but fortunately most Americans now recognise that was a mistake and the US has mostly wound down its aggression in the middle east.
You're advocating for the exact same thing the terrorists did: harming innocent people for actions that they weren't directly responsible for, purely because of their ethnicity.