I mean, that only medium level and upper classes can afford it.
There are many things in life that aren't feasible if you are at the poverty line: Apple laptops, electric vehicles, extended vacations, etc. I would argue that the only difference here is that many people are deeply uncomfortable with the idea of paying someone to take care of their children in the home.
Most of them pay less than that.
So a university degree will land you around 1000 euros, a bit more if you are doing lots of overtime.
Renting a flat will always be above 300 euros, or 500 in the biggest cities.
So unless one if living with a significant other, and reserve one salary for such expenses, they aren't possible at all.
In Spain the salary level on average is around 25% more than on Portugal, but given the actual situation the real numbers on the bank account aren't that much different.
And I am writing about people with degrees, let alone those that only learned their profession hands on the job.
400 euro a month plus food and accommodations is a lot more than $5,500/yr.
I think you ignored the "plus food and accommodations" part.