The Spanish Armada was defeated of course. The Spanish and Austrian armies in Germany faired much better. It was only Swedish intervention, and specifically Gustavus Adolphus, combined with French money that saved the Protestants in Germany in the 30 Years War.
I would count the 30 Years' War as a dead loss for Spain, Rome, and the Hapsburg empire. The aim was to crush Lutheranism and bring those sections of Germany back into the fold. Militarily, socially, and religiously those aims were not met.