This is such a load of complete narrow-minded thinking by small-minded people who can't see beyond their own greed.
As long as politicians are for sale this problem will not be solved. There is simply too much profit to be made by selling guns and bombs that there is no REAL motive to solve the terrorist problem. (See what I did there? This isn't a problem of Islamists, Christians or Moonies for that matter!)
The terrorists are fighting because they have NOTHING TO LOSE.
Take a fraction of the BILLIONS of dollars that are being literally thrown away on bombs and bullets, and invest in infrastructure: roads, hospitals, communications ; justice: the real sort, not the typical highest bidder type of justice we are all becoming used to; and education. Yes, you will still have nut-jobs. They are everywhere, but if the majority of the people feel secure, and productive, they will be happy, and WAY less likely to pick up a gun and start shooting infidels.