literally said it was wrong for the US and China. It’s the opposite of whataboutism.
From the definition of whataboutism linked above, my italics:
the act or practice of responding to an accusation of wrongdoing by claiming that an offense committed by another is similar or worse
You are doing exactly that.