What China can do is help developing nations build out infrastructure and transfer technology to these nations to help them bootstrap their domestic industries. And this is precisely what China has been doing with great success.
It’s always up to the people of the country to improve their own situation, and communism cannot be imposed on them externally. However, countries can help improve material conditions and alleviate the suffering. This is what China does.
Please refrain from arguing in bad faith. If you disagree with someone, ask questions and clarify your position. You’re in a dedicated community so don’t assume that people are just going around saying stupid things out of their asses.
The “mindset” of the people of these countries is a result of their current stage of development, to get out of that “mindset” they need to develop their productive forces, sure they can do it by “pulling yourself up by your bootstraps” but its going to take much longer than with the help of China.