While the parent poster presented the issue as one of morality, it's more honest to frame it as self-preservation. It's rarely wise to allow another country too much influence over you - even rarer when it's as openly hostile to the US as China.
Any wrongs you may have done don't enter into consideration when trying to prevent being wronged by others.
Any wrongs you may have done don't enter into consideration when trying to prevent being wronged by others.