It doesn't work that way. Abandoning the Mideast means leaving our friends the Kurds to the mercy of the Turks, who hate them. So on that issue alone we are stuck there.  If we abandon the Mideast, feudal governments such as the one in Saudi Arabia will be overthrown.  At the very least the Saudis would stop spreading money around Washington to buy friends and influence, and that will hurt our economy and most of our lawmakers.