The nations promised to maintain “a free and fair trading system based on the rule of law and enhancing economic resilience and economic security,” officials said in a joint statement.