The Middle East lacks many elements that make it possible to create diversified economies. That includes rain, minerals, forests, financial sectors, etc. Their main reliance is oil.
You could say Israel is the exception, but they receive lots of aid which has allowed them the opportunity to create different economic sectors. Egypt is another country with the wealth to invest in their own country to create a class of people that isn't destitute, but has the money to live decent lives.
That leaves the vast majority of the Middle East (with some exceptions here and there). Powerful poverty, lack of education or the ability to receive it. Throw religion into the mix and you have all the elements to make radicalization a popular idea.
One of the biggest mistakes the U.S. makes in regards to the Middle East is the idea that our way is the best way. Democracy simply does not work in most of these countries. When we remove the power structures that held places like Iraq, Afghanistan, Libya, soon to be Syria together, we create a vast void of instability left to be filled. This is why ISIS thrives.
Yes, U.S. Foreign policy is a failure in the Middle East. These people have to be ruled with an iron fist, and live in fear. The alternative is what we are seeing now.