This is what happens when you spend all your money on endless war and imperial conquest rather than actually investing in your country and its people.
We spent decades and trillions on death and destruction. China spent that time and money doing the exact opposite.