The 30 years war was far in the future and Spain didn't have much of a hand in that blood bath.
Sorry, Bub, but you’re confused. The Spanish were involved in the 30 Year’s War up to their eyeballs. Largely to safeguard their land route to provide troops and supplies to their forces fighting the Dutch. They couldn’t use the sea route because the Dutch were better sailors.