For the past 50 years, American leaders have been supremely confident that they could suffer military setbacks in places like Cuba or Vietnam without having their system of global hegemony, backed by the world’s wealthiest economy and finest military, affected.