If China's situation is not under control, how China can be able to send multiple medical teams to various countries and provide dozens of countries with tons of medical supplies including millions of masks, protective suits, ventilators, test kits..., China now is the only country on this planet which can provide substantial life saving amount of supplies, not just mere goodwill gestures.
If China didn't bring the virus under control, that above actions would amount to committing suicide, and I don't think China will kill herself to have others.