It's not, really, I've been living through most of Europe and Spain's quality of life is way above average, there's literally no homeless (except for people with mental health issues or foreigners) low/middle class people buy properties, there's development in every industry, etc.
Edit: Downvoter care to explain? Please check this [1] NUTS 2 official data, half of Spain is above half of Germany
[1] https://upload.wikimedia.org/wikipedia/commons/4/4f/GDP_per_...