No. It won't. But it will help.
In Three Cups of Tea, Greg Mortenson wrote:
"I've learned that terror doesn't happen because some group of people somewhere like Pakistan or Afghanistan simply decide to hate us. It happens because children aren't being offered a bright enough future that they have a reason to choose life over death."
This is nonsense.
First of all, there are children all over the world who are not offered a bright future, but who have, nevertheless, never thought of dedicating their lives to destroying the free world.
What about the two Muslim doctors in Britain who were planning a suicide attack on the Glasgow Airport? It is only by luck that the deadly devices didn't detonate. One of them who provided money for the cars and bombs was a senior house officer in the neurology department of University Hospital of North Staffordshire. Does this sound like someone "without a bright enough future?"
Islamic terrorism has its roots in the ideology of Islam. The primary doctrinal source of Islam, the Qur'an, teaches hatred and encourages violence against non-Muslims. That simple fact needs to be acknowledged worldwide by Muslims and non-Muslims alike. Then we'll be able to solve the problem. As long as we avoid that fact, our efforts will not succeed.
The content of the Qur'an is not at all difficult to confirm. Stop listening to opinions and read the Qur'an yourself to find out.
Even with all that, it is also true that helping give poor Muslim children an alternative to a maddrassa will help produce Muslim adults who are less interested in following their holy book to the letter, and that is a good thing. It would help. But it is not the whole solution by any means.
Read more about Mortenson's work.
Read more about the Islamic ideology.