Chinese government (propaganda) is usually deploying this logic to suppress the discussion about their actions. It is a wide spread tactic that we see everyday. It is not like china is ever interested in helping people in Iraq, Afghanistan.. they could just stop doing the same (if not worse) as a good well gesture.
I personally think China has done a great work in Afghanistan than US. They sent humanitarian aid to poor people who were never responsible for terrorism. I acknowledge that China might have their own interest, and might be some Shenanigans. Or, it might just be a marketing tactics to earn good will & gesture?
However, US freezing the whole country account is bad. This doesn't just punish few bad people, but it punishes many good people. Liberation happens through development, not through revenge & suppression.
China is actually interested in helping people in Afghanistan. They sent aid[1] during the winter crisis and they have called for the return of the assets of the Afghan people that have been stolen by the United States[2].
Fun facts about me, I'm not Chinese or paid by the Chinese government. I don't want to see my friends or our collective kids go off on a stupid war with China or another war in the middle east. We remember the WMDs lie, we remember decades of wage stagnation, we remember the decades of politicians low-balling us on healthcare reform/student loan forgiveness/nuclear power plants/other green energy. We know how much Iran/Afghanistan cost. We know who, for decades, sent all our jobs to China. It wasn't China. Want us to give half a shit about putting Xi in jail? Put Bush and Cheney (random names from a long list) in jail first. We can't afford any more wars. We're tired of endless do nothing politicians and constantly being gaslit.