Eventually war causes more problems than it fixes.
Really - The Germans and Japanese might disagree about that. And I guess the ACW caused more problems than it fixed - like maintaining the Union. Those are just a few examples of contemporary wars that fixed major problems.
Other examples abound.
Whether or not a war solves an immediate problem pretty much depends on which side you were on.