While we see the US as an ally here - we haven't traditionally been at war with Arab countries and I think a big part of it was the influx of military equipment from the US to Israel and from the USSR (and later Russia) to the surrounding countries. (This is an oversimplification but for brevity - I opted for just the gist of things)
Intervention in Iran and conquering it and installing a puppet government (the Shah) also did more harm than good in retrospect.
I believe that if the US exported more education and equalizers (like more accessible MOOCs, better infrastructure companies to get work there, more remote position etc). It would both be more competitive economically and would contribute more to middle-east stability.