The study you're thinking of is probably "Unskilled and Unaware of It: How Difficulties in Recognizing One's Own
Incompetence Lead to Inflated Self-Assessments" - it's completely fascinating and slightly worrying.
http://www.apa.org/journals/features/psp7761121.pdf
If you're not feeling humble about your skills after reading it, well...
There are all sorts of possible explanations (don't know enough to know you suck, pride, etc) and I don't think the study really looked at causality at all, but yes, I think the phenomenon is well known.