The problem isn’t the debt. The problem is the waste. All the personnel and capital used on those wars was personnel and capital not being invested productively. It was wealth pulled out of the economy and burned, which makes us all poorer.
Money is just accounting. The real economy is physical.