Right. Calling China "Communist" is the same as calling North Korea "Democratic". It's State Capitalism.
And, btw, China actually does comfortably have the largest economy (PPP, i.e. the real stuff you can use), for over a decade.
Here are the approximate recent (2024–2025) GDP per capita figures for the two countries:
China
Nominal GDP per capita: about $12,500 – $13,000
PPP GDP per capita: about $22,000 – $24,000
Namibia
Nominal GDP per capita: about $4,500 – $5,500
PPP GDP per capita: about $9,000 – $11,000
A factor of 2-3x is not 'on par', tone down on the reality bending a bit, please.
[1] https://www.imf.org/external/datamapper/PPPGDP@WEO/OEMDC/ADV... [2] https://en.wikipedia.org/wiki/List_of_countries_by_GDP_(PPP)
The fact that communism naturally evolves in totalitarianism should be noted.