confidence is only separated from temerity as if by a thin sheet of frost, and pride typically runs rather hot... can’t see any use for cultivating it within.
however, nonchalance can often be mistaken for confidence. when you do not care, you do not worry about your performance, and when you do not worry, there is no rigidity or resistance in the body or mind to get in the way of the tasks at hand. though... discipline is certainly necessary to perform said tasks with clarity and resolve.
anyway, failures are necessary stepping stones toward success. the sooner one learns that, the sooner they succeed in crossing to where they wish to find themselves. if one has failed, they are on the right track as long as they have learned from and don’t forget their errors.
there is a japanese proverb, something like... “fall down seven times, get up eight”. when a child learns to walk, they fall down again and again... though, upon observing the act, walking is the art of falling without hitting the ground. it is only when one is comfortable with falling that they can make haste and run. so, be like a child if you must... children aren’t confident, they’re oblivious, yet in being so oblivious to conventions, socially ingrained beliefs, and prejudices, they can teach their elders.
_________________
七転び八起き