American war-making in the Middle East has represented perhaps the least effective use of funds in the history of modern warfare.