I think a well-functioning democracy with an educated electorate will do better than China, but I wouldn't argue that the US meets those criteria. A better comparison might be the Nordic countries. If that's too much cherry-picking for you, consider that China is probably also the best-functioning autocracy in the world; plenty of autocracies are terrible.