It worked in El Salvador.
That photo of those pitiful prisoners needs some explanation of what is happening. Could you provide some details? Link?
A gang is not the same as a religiously motivated terrorist organization that is supported by the local population.
Your analogy fails.