The game can be a bit grindish at this stage. You'll just have to spend (a lot of) time killing Ogres for cash and exp. By the time you've completed the marsh cave you'll have enough cash to buy the spells before you set off to the wider world.