I live in Ireland and get less than €70k as a senior dev. Ireland is considered to have relatively high
salaries for software developers, at least in a Europe.
Minimum wage is ~12k€/y, so bartenders get basically that. In Spain for people >25yo unemployment is around 40%, which obviously means you get a lot of competition for stable jobs.
Spain in general is very anti-business, especially small/middle business. I had not started freelancing until late in my career because having a paying side job costs you ~$300/month in taxes, regardless of your income this month.