Considering the fact that most wars - stated or not - are about natural resources (and the control there of), if these war wefforts (i.e., lives, money, time, etc.) were channeled into productive things, there would be plenty to go around.
The USA alone has an annual DoD budget close to three-quarters of a trillion dollars. Even if that was cut in half, that frees up resources for good (e.g., nuclear fusion).