I'm almost the opposite side of the political compass from current Chinese regime but even I must admit Sinophobia is out of control. It is totally cool to altogether dismiss and undermine any of their achievements and reduce 1/6 of humanity down to a single facet, all because popular Western propaganda says so.
The Poverty Elimination Campaign required all citizens to have adequate food, clothing, shelter, water, electricity, and ability to access education. So, no, it wasn’t just that. They built many homes for people, provided them subsidized food supplies, power stations to provide power to extremely rural areas, and more.