America’s alliances are what sustain its superpower status and help keep the world safer.