"Oh I hate Muslims but I want to us get involved in the Middle East so we have to deal with these fucking lunatics for ever and ever" just doesn't make a lick of sense. If they're so vile you'd want to immediately bar them from entering Western countries and enforce this edict at the barrel of a gun. No amount of interventionist policy will magically make the Muslim problem get better unless you're willing to kill all 2 billion of them, but at that point it's just unrealistic.
The Middle East is one of the key industrial regions of the world simply because of its economic resources. It is foolish to think that it is possible to exclude them or for America to turtle up and not suffer immense costs. It is vital to control it, or the preponderance of its resources, and failing that, to deprive others of access to them. America can and should make any alliance or partnership that enables this core strategy's success, and as long as it is successful almost any plausible cost is broadly tolerable. Terrorism? Bloody, long occupations? Defeats in some fields, in some senses? Coups? Wars, genocides, strife, oppressing women, minorities (ethnic, religious, sexual, whatever), low intensity civil wars, unjust and actively bad governance? Yes, especially since those costs are largely borne by the people there. Whatever the fuck happens over there is tolerable as long as America is getting what is rightfully America's.
America's core strategy relies on control of the world's oceans and naval supremacy. Our current lifestyle and dispensation is this empire and it would be a catastrophe to see it go, as the dissolution of the Soviet Union was a catastrophe for the Soviet sphere. The American sphere is in fact the entire fucking world, so it would be a catastrophe for the entire fucking world. Power and wealth are originated in America and they flow outward and return to America. America is a thalassocracy, the greatest empire of the seas in history, descended from the second best thalassocracy, the old British Empire. It is our tradition, our absolute right to rule the waves and to carry the burdens that come with it, including tardwrangling these bloodthirsty fucking savages.
Control of the Middle East been a cornerstone of foreign policy strategy dating back to the Napoleonic era. Uncontested control of the Mediterranean Sea and the Indian Ocean by civilized people and Italians is the sine qua non for development and wealth in the world. It is absolutely vital for a wealthy and powerful empire to control the waterways, hold states there under its power, and to kill the mongrel pedophile worshipping animals who try to fuck up these arrangements.
If you think they're a bore, or that they're animals who can't stop killing each other, and use that as a retarded excuse to stop being the greatest empire in history, someone else will get their hands dirty and gain immense power by controlling that area, and they will likely gain full control over Europe in the process, which in spite of being a moribund and disunited part of the world has and does use its tremendous purchasing power largely to buy our dollars and weapons and whatever bullshit we want to sell them.
Our control of world energy markets is predicated on this. Our control of global finance is also predicated on this. I do not wish to be poorer, there's enough problems in the world besides. Therefore I wish for the United States to be in charge of whichever group of butchers who saunters into 'power' in the Middle East. It is vital for global security that this trash fire be kept to a smolder, and the costs paid are not even close to the benefits that we accrue and continue to accrue.
You lacking an attention span and wanting world history to have a narrative that suits your predilections and fascinations means nothing to the strategic necessity of holding the world's top energy producing region in our grasp, however tightly or loosely, and controlling the waterways and pipelines that shuttle that energy. If the past years have shown policy failures, that is a pity, but there are no certainties in war and politics. I view our commitments in this space as being proof of well-considered necessity. Failures and violence are not reasons to disengage like a fucking moron from the most important political processes on Earth, they are reasons to continue trying.