20 years ago China had a single high speed rail link in Shanghai going to the airport. Now they have more than 30,000 miles of high speed rail where they've bootstrapped all the civil engineering, they make their own trains, etc. The system handles over 4 billion trips annually and they built the entire thing for an estimated $900 billion [3], which is now less than the US spends on the military in a single year.
Every $1 you spend on the military is $1 you don't spend on housing, healthcare, education, roads, trains and other infrastructure. Eisenhower warned about this 60+ years ago [4].
[1]: https://en.clickpetroleoegas.com.br/All-of-China%27s-preside...
[2]: https://www.economist.com/china/2023/03/09/many-of-chinas-to...
[3]: https://www.express.co.uk/news/world/2152581/huge-668bn-high...
[4]: https://www.archives.gov/milestone-documents/president-dwigh...