Confidence and Capability


I would love some clarity on the concepts of capability and self-confidence. My understanding is that capability is a prerequisite of self-confidence; that you can’t feel self-confident without first having thoughts of capability. But I’ve felt capable without it leading to self-confidence and I’ve felt self-confident without actually feeling capable. Can you help me reconcile this?