Oh man, I am from Spain. I believe you need to get out of your country for a while.
There are few places in which I had seen more misery than in the US of America, India comes to mind. There some people live very well, the rest very bad.
Spain is somewhat a socialist country, you are paid for not working, with lots of subsidies, like PER or paro, education and healthcare for the poor are free. Also lots of taxes.
Spain exports food, there is plenty of it. If you are poor there are lots of rural places where you are given land free if you want to work it(as small villages get empty when population gets older).
In Spain(and Italy) family is much more important than in the US, so it has a wide social net.
Not everyone has a family to fall on or gets the expected help from the social institutions.
I travel regularly in Spain and am aware of such situations.
Unless you live in big cities, there are also not that many libraries to go to, or the possibility to connect to the Internet in a workable manner.
Sure, when one wants to learn, even with limited resources, they might try to. However, the majority just won't bother.