Pretty much every nation bar the US was on the verge of economic collapse by the end of WWI (and Russia’s did). The financial burden of two world wars killed the French and British empires. Germany’s WWII war economy was totally unstainable and the USSR’s was bankrolled by the US lend-lease program.
It’s not a panacea - it’s just what you have to do to drive enough military production to sustain a near-peer conflict.
GDP was a good war metric for an industrial economy, and fucking terrible for a services based one. There's never one metric that describes all. You know it, Goodhart knew it, anyone was worked with metrics ever knows it. This is rather important and frankly I don't get the glibness. Russia's not an unstoppable force but it's not a joke either.