When expectation is equal to your ability, great things happen. That would be where confidence comes from.
This begins with competence. And eventually, you become what you remember!