That didn't stop ETA, or the IRA, or the people who used to bomb Paris. China does not bomb the Uighur areas. The Indian gov't does not go about 'bombing' minorities. None of the target counties 'bombed' the perps. Now, the perps might have felt 'oppressed' or had some outstanding issues with said target govt's.
But it's not as simple as 'don't bomb'.
So it's not that simple.