I'm not sure I follow.
What I mean is that it makes no sense to say you're fighting a war to achieve peace if you're the one who started the war, breaking the peace that existed before then.
If peace is your goal, then the status quo was already in line with your goal. Starting the war contradicts your stated goal of peace.
Do I really have to spell all that out?