Alliances were rejuvenated in the Pacific and in Europe, where NATO was expanded and Ukraine kept afloat.