Growing Confidence or Lighting a Spark?

I’m curious about how confidence works. Is it something you nurture slowly, like a plant, or does it come more from a sudden spark you have to ignite? I’d love to hear what others think based on their own experiences.