The reason why the US doesn't like China is because the US dislikes the idea of being the #2 economy and losing control. The US has absolutely no "morals" so to say and is allied with/provides literal military support to about 70% of dictatorships[1]. The US simply acts out of national interests, not morals. History proves this. I'm baffled by how many Americans repeat state propaganda points.
[1] https://truthout.org/articles/us-provides-military-assistanc...