Seems to me that while most terrorists in this era are islamic..... ALL of them are from shitty foreign countries. The problem is not that they're poor either. They seem to have $ for transport, training & weapons. They also don't seem to have to struggle for food or else they wouldn't have the spare time to attack.
The most effective solution for the West & civilized Asia is simple: Outright Conquer & totally enslave everyone else. Make NO apologies or gestures or pretenses at "human rights" or fake anything. Show up. March in. Take everything. Eliminate anything that even resembles threat or resistance.
Keep only those individuals who are unlikely to cause trouble & only let them have just enough to keep working in the fields, mines, etc. Don't give them free time to plan anything either. Let them have whatever god they wish. No free time & only enough to feed a small docile population = no time to kill for any god = safety for us without all of our freedoms getting trampled on.
Most of the issues we face are fruits of colonialism, but it only started getting bad for us when we stopped. We were selfish & grabbed the bull by the horns & the Tiger by the tail and we were stupid enough to let them go.
This is what it has come to. We have brutalized these people for ages & now when we feel guilty about it, we let up, but only enough for us to pat ech other on the back at how enlightened we are. We gave them just enough to fight back in the dirtiest of ways. This is our fault... we have to either give up our standards of living to a point were everyone is poor to be at the same level as our neighbors in the "global village" or we stop kidding ourselves & just do whatever needs to be done to eliminate the threat. Our half mesured approach is cowardly from both ends.
It sucks.... wish it hadn't happened this way & things were fair, but they did & fairness/deserves have got nothing to do with it. This is the sort of thing you have to follow through to the end on. Never take your foot of a defeated opponent's neck unless you're either willing to make him your total equal or unless that neck is broken.