Ten Minutes: Confidence?

Does confidence come from building a skillset and watching it work or is it what gives you the ability to build the skillset in the first place?