And if you include women (well, all genders) directly in the war efforts you double the amount of soldiers you have, which would increase your chance of winning and not needing to repopulate.
If you all agree to refuse to fight, you win.
https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
The key here is to refuse fighting. Nobody becomes a hero by becoming a murderer whose goal is to defend the political power of Stalin, Napoleon, Bush, or whoever.