Deep and wide-spread currents of dissatisfaction run at the root of terrorism's growth. We need to acknowledge the tremendous psychological pressures that lead to terrorism, and we need to begin healing the social, political, and spiritual disenfranchisement that our societies create. A good place to start would be in our schools, with promoting the principles of individualism, autonomy, open-mindedness, compassion, and the Golden Rule. A generation raised on these values just might stop pissing off other nations so much that they fly airplanes into our skyscrapers. Sadly, the public schools are in fact religious schools, and the high priests of corporatism will never let this happen. They have too much invested in the powerlessness of the citizenry - their Ponzi scheme of an economic structure relies on it.
That's not it at all. We have an uneducated populace that keeps voting to gut our schools. That's how we got to Trump, and that's where things will continue to go unless something else dramatically changes.