Yes we have crooked politicians and public officials, but everyone is crooked and corrupt in the best case. At worst we are crooked and corrupt throwing our lives and money away.
This gets no reflection on official statistics.
Spain is a developing, quasi-feudalistic country and no amount of european money is going to change that at the root.