Confidence, not cockiness. Confidence is a great thing to have but you can't be too confident to the point where you'll come off as arrogant. Arrogance is what makes you mess up, you can't be too overconfident, but you should always have a good amount of confidence.