The last few decades of America's behaviour on the world stage have been the exception to the rule.