what evidence do you have of this? those resources are not free (unless you consider fusion a solved problem, and thus have near-free energy).
More likely scenario is that the vast majority of people who are too uneducated, or is not from a wealthy background will suffer, whilst those with the means will live way above (literally, in huge skyscrapers/floating cities, as well as figuratively). There will still be slums, and the conditions of those places will be as you imagine.