China generous despite its own problems