I never said Spain was an advanced, industrialized nation. Spain had a friggin' dictator until a just few decades ago. Even Mexico has a better track record than that!
Spain sounds a lot like Mexico as far as qualifications, BTW. In Mexico, you don't need an engineering degree to be an "engineer", you just get the job (because of nepotism/cronyism), and work under some more experienced person for a while. From what I hear, all the professional jobs are like this (and this isn't just in the government, this is private industry). No wonder Mexico has never produced much of value. Cronyism is a recipe for failure. Too bad America seems to be devolving to this too, at least as far as the government is concerned.
And as far as infrastructure rotting, it sounds like you're on par with America there. Our infrastructure is crumbling too, though it's largely because we'd rather spend all our money on military misadventure (along with government healthcare websites set up by overpaid cronies).