No time to go into detail now, but most of the battles you list are good examples of "winning the battle but losing the war."
Your implication was that Spain never won a battle against Protestant armies. I refuted that point.
In regards to "winning the war", Spanish arms did win the wars to keep both France and Belgium Catholic.
Be that as it may, the inter-Christian religious intolerance on both sides was very unfortunate for Europe.
A much better use of resources would have been a united Christian front against militant Islam that was still knocking at the gates of Vienna in 1683.