But to play the devil's advocate for a second
You also have to look at the people that is getting recruited. Their education level vs their financial state. I know that in the big terrorist attacks a lot of them were highly educated people. But the majority that gets recruited come from poverty states with very basic education.
So now could it be the socioeconomic state of the Middle East that is the problem? Also there aren't many terrorists from European Muslim Community (Bosnia and Kosovo) and Easter Asian countries.
Yeah, the financial state often is a factor in more regionally based terror attacks, especially in Iraq, Afghanistan and Pakistan.
But I think they are really side issues when you get to the root of the problem. There are many poor, illiterate people in the world. And many people with serious grievances. You really cannot have such a large amount of people being recruited to commit suicide attacks unless you have a population with those spiritual and religious foundation. The only group in the world that has commited suicide attacks on a regular basis are the Tamil Tigers, but they are a regional insurgent group and a lot of their suicide attacks were for very specific assassination purposes.