Only at the start for not reacting fast, and that was due to them getting fooled by the incessant propaganda that was coming from the US and the UK saying that 'there was no pandemic'. For months, the US state department and media lambasted China for 'exaggerating', that there was nothing to worry about and it was just a flu.
https://i.imgur.com/0MNniYD.jpg
They were doing this to protect the Western stock markets. All the Western European governments were totally deceived by this propaganda. Spain's government was the second one in Europe after Italy to take drastic measures and implement a quarantine. In an environment were nations started to backstab each other to acquire masks and pandemic supplies - like how the US robbed a lot of countries' supplies -...
https://nypost.com/2020/04/04/us-accused-of-piracy-as-mask-s...
... the Spanish government cooperated with other countries, foremost China, to take rapid action without backstabbing anyone. It immediately implemented economic measures to protect both people and businesses during the pandemic, diverting cash to small businesses, creating minimum income, postponing taxes and giving pandemic stimulus whereas the US and the UK etc literally hung out their people to dry in the pandemic.
I'd say that Spain has been incredibly lucky to have entered the pandemic with this government. Many countries' people suffered a lot in the hands of 'free market' types, who openly declared that they would 'let the pandemic run its course' - to protect corporate tax breaks, of course - no need to spend money for the people.
So aside from getting deceived by the US/UK at the start of the pandemic like every single Western European government, I'd say that this Spanish government has handled the pandemic in an exemplary fashion. That they were ALSO able to achieve some major reforms in the middle of a pandemic goes WAY beyond what anyone could expect...