There will always be people who are poorer than others, for various reasons, but if what you are referring to is extreme poverty or indigence, then the solution would be to create so much work and provide so much work that people in extreme poverty have money, but of course, this is not as easy as it sounds, because there are also many people in poverty who do not want to do absolutely anything.