China is alright if you keep your head down and you're not of the wrong ethnicity, locked up in a work camp and not allowed to have kids, or too openly gay or trans and so on.
No one is saying China is perfect in these threads, we’re just saying the US isn’t necessarily better. Two countries can be shitty simultaneously.
Even current events show this to be false, let alone: Jim Crow, Japanese Internment, Native American reservations, etc ...
The point was that the US touts itself as a free country while having many perverse incentives and mechanisms oppressing part of its citizenry. There's a veneer on top of it of individual freedoms compared to a state like China but in reality it can be as brutal against its population as any totalitarian state, it's just that the power to subjugate and oppress isn't centralised and is more diffused through its institutions across history.
It's not too far in history that the US was deploying the National Guard to fire live ammo against protesters, American police has military-grade equipment deployed against their citizens, I think it makes it even harder that the oppressive power isn't centralised since to uproot this there are countless battles to be won for any change to happen. It's institutionalised, any big institution is really hard to change.
One factor is that the U.S. is the 3rd largest by population and will always skew higher in total prisoners than many other countries.
The other factor which explains the relatively high incarceration rate within the country's population is the investment into policing and reporting. We can take a city like Shanghai for example. They had a population size of around ~24m+ in ~2018-2019 [1] but only had 50k cops [2] (I couldn't find citable numbers for today but the data isn't too outdated). New York City, in comparison, has a current current population size of around ~8m [3] with 33k cops [4].
The 2 countries bigger than the U.S., India and China, also historically have had less investment in law enforcement, especially in rural areas [5][6].
[1] https://tjj.sh.gov.cn/tjnj/nj19.htm?d1=2019tjnje/E0201.htm
[2] https://en.wikipedia.org/wiki/Shanghai_Municipal_Public_Secu...
[3] https://en.wikipedia.org/wiki/New_York_City
[4] https://www.nyc.gov/site/nypd/about/about-nypd/about-nypd-la...
[5] https://www.scmp.com/news/china/politics/article/3215865/chi...
[6] https://villagesquare.in/rural-crime-and-policing-in-indias-...
And don’t even get me started on flexing an imperial muscle. South America and the EU would like a word.
On the other hand, China doesn't suffer from the US' current bone-headed anti-Science and "climate change is a hoax" nonsense, and have a much clearer understanding of where they need to continue investing in order to become the world leader economically and even politically, which Trump in his stupidity is handing them on a silver platter. So in that sense they are far ahead.
China is also of course much smarter when it comes to foreign policy, though Trump has set such a low bar that even a monkey could do better.
I'd rather not live in either country, but if I had to choose, I'd pick the US and it's not even close.