How would one use meditation to help in achieving goals?

I want to write a novel, but I never have. Self-confidence issues mostly. Falling into the trap of thinking it's a waste of time because no one will read it and it'll just be crap anyway.

How can meditation help me achieve this bucket list item or can it?