This argument has been made before.
https://en.wikipedia.org/wiki/The_Great_Illusion
Unfortunately, it didn't work out. https://en.wikipedia.org/wiki/World_War_I
Unfortunately, it didn't work out. https://en.wikipedia.org/wiki/World_War_I
Of course this only applies in a vaccuum. If there are any nations you don't attack and win, they can just build up their economy while you tank yours fighting and then swoop in to defeat you on the cusp of your victory.
Basic strategy in the game of Civilization. The rest of the world gangs up against a warmonger and unless they can promptly achieve world domination, ultimately self-destruct.