Answer:
They wanted to spread the Catholic faith. Spain had a history of supporting the church and even going to war with England to restore them to Catholicism.
They established colonies so that they would be used to convert the local population to the Catholic faith and spread the influence of the church outside of Europe.