Fortune Favors Fools: How Confidence Can Compensate for Competence in Learning