For how long though? There's always going to be terrorists in the Middle East regardless of how long we stay there. How about securing our borders and kicking out suspicious Muslims here, and putting future terrorist states on notice that if they attack us again they'll be sand particles?
Should we just stay there for decades and our military can be the equivalent of a giant bug zapper?