By what metrics? As an example, longevity is slightly higher in China than in US (77.30 years vs 77), it is GROWING in China while decreasing in US, or china has a transportation system that is orders of magnitude better than the US one. Ever heard of the high speed train system and how quickly was it built?
Median income alone isn't enough to judge the quality of life of a country. I'd rather be poorer but live longer and in a country that works also for non-millionaires, but you can take more money with the lower longevity if you prefer.