Which War?
Civil War: Americans rejected any input in the war until the Europeans attacked them first
World-War1: Americans wanted to put an end to communism so developed the NAFTA agreements
World-War2: Americans had allies with France and Spain, so when they entered war, America was dragged into it also
(I could better help if I knew what war was being opposed)