If gold is inherently valueless, then isn’t shipping all of it away immediately to other countries in return for useful goods the most rational thing to do?
And if they could get gold at a fraction of the cost of other countries and exchange it for useful goods, isn’t that more rational than building the goods yourself?
The Spanish were not stupid and were not acting irrationally — except perhaps thinking on too short of a time frame. The gold trade was a total moral abomination, but it was a good trade economically for hundreds of years.
The main problem was that it was basically an arbitrage play and once the margin got erased from inflation, they had let the rest of their economy atrophy.
This is one of the reasons the Saudis invest so much money in tech companies and other industries.
It wasn't an arbitrage thing and I'm not sure there's anything fruitful in the comparison to saudi arabia.
The Spanish Empire was, more than anything else, a product of the reconquista. The major institutions of Spain were all directed towards the taking and holding of new lands. When granada finally surrendered in 1492, the monarchy turned towards conquering the canaries and then the new world to avoid the large scale structural changes needed to go from a militaristic, medieval nation to a peacetime state in the early modern. The systems of repartimiento and encomienda were more or less borrowed wholesale from the reconquista. The conquistadors and chroniclers all saw the Americas through the lens of the chivalric literature they loved. The name "California" was borrowed from one of those books, about a fictional island of Amazons who aided the moors.
Precious metals were a solution to the problems Spanish monarchs had in organizing Spanish society. It paid for soldiers in the monarchy's constant wars. It paid off loans to italian and dutch financiers, and it was something that could much more easily be controlled by a distant monarch than import duties or taxation (which nobility were largely exempt from). It also gave them some limited control over their inflation issues by devaluing and revaluing the coinage as financial pressures required. This eventually caused other problems, but the point is that Spain was never really an arbitrage play. They didn't have to be, since they controlled some 30% of the world's gold supply and >90% of its silver at points.