Confidence is created by overcoming battles and challenges. It's from knowing you can handle life no matter how it comes, and having innate faith in your ability to shape and impact your world.
Therefore, confidence is a muscle built through the exercise of one's will, whether that's proactively, or out of steadfastness.