Spells are fairly powerful and having a wide selection is a good thing. The gold cost is purchasing the magical inks and materials to copy a spell. I found I could learn spells not in my class list and even characters who don't have a spell book.