You can’t drink tap water in China. You’ve got to boil it first. Stick some tea leaves in there while you’re at it.
Was it really that bad in your experience? It seems hard to believe as someone who has not visited China but heard many great things about the nation.