WAAAY too late for that.  That's only a piece of why some of them hate us anyway, and trying to suggest it's all (or even mostly) about that would be a very dangerous position to take.  

We never invaded or fought in 90% of the countries over there.  Yet there's been growing radicalism against the West (not just the US) for decades now in places like Saudia Arabia, Syria, Iran, and many others.  Simply "pulling out of the Middle East" will do very little.  That's further illustrated by the radical Islamic attacks in places like Germany and Belgium and France.  They're not anything close to "invading forces", yet the jihadists still attack them too.  You've got the reason for their attacks on the West way off target.