The question is unanswerable as asked since it does not define who the "enemy" is.
General Patton did not believe that the United States fought the wrong enemy during World War II. He was a strong advocate for defeating Nazi Germany and believed in the importance of fighting against the Axis powers.
The enemy.
Germany
Yes, during World War 2 Mexico fought against Japan during the Philippines campaign on the Pacific.
they fought against Japan in the Pacific
The Triple Entente
World War 1 was fought against primarily Germany.
Germany, Italy, and Japan
Poland
The three powers that the US fought against during World War II were Germany, Japan, and Italy
GERMANS
The enemy of the ANZAC (Australian and New Zealand Army Corps) during World War I primarily consisted of the Ottoman Empire, particularly during the Gallipoli Campaign in 1915. The ANZAC forces faced fierce resistance from Ottoman troops, who were defending their territory. Additionally, during other campaigns, the ANZACs also fought against German and Austro-Hungarian forces on the Western Front.