The thing with confidence is, one needs to find the right balance. It's important to look at your own skills and progress in an objective way as much as possible. If you are very insecure, look at your successes, and look for solutions to your weak points. Overconfidence, on the other hand, is also not a good way to go - make sure you are realistic about your expectations towards yourself.