I say this as someone who would have made similar knee-jerk comments when I was 18 so I have some understanding of where they come from.
Believing the behavior of all governments is equivalently bad makes you a mark for bad governments (which want you to believe that).
The USG isn’t without fault, but it’s a far cry from the actions of the CCP.
The PRC is something else.
When the US congress tried to investigate them, the CIA compromised the congressional computers to avoid oversight of their torture programs, then lied about compromising them.
The US military conducts bulk espionage on everyone inside the country, in violation of the country's own basic law.
The differences aren't quite as stark as you think.
I also believe that if you ask the average Chinese or Russian person (the US bogeymen of the season) they would also believe that their country is fundamentally good.
It turns out humans everywhere are fundamentally good, and governments everywhere tend toward illegal and oppressive authoritatianism, given enough time to gather resources, size, and fear.
... So I assume you're counting Uighurs as non-foreign populations? Perhaps you should rethink your perspective.