I suspect that's an important part of why confident ignorance is seen as the "stupidest" trait. Being confident has social advantages, so without a significant risk of looking stupid for overlooking something, everyone would try to be confident all the time, and confidence would have a very low signal-to-noise ratio for determining who to trust.