The Dunning–Kruger effect is an example of cognitive bias in which “people reach erroneous conclusions and make unfortunate choices but their incompetence robs them of the metacognitive ability to realize it”. The unskilled therefore suffer from illusory superiority, rating their own ability as above average, much higher than actuality; by contrast the highly skilled underrate their abilities, suffering from illusory inferiority. This leads to a perverse result where less competent people will rate their own ability higher than relatively more competent people. It also explains why actual competence may weaken self-confidence because competent individuals falsely assume that others have an equivalent understanding. “Thus, the miscalibration of the incompetent stems from an error about the self, whereas the miscalibration of the highly competent stems from an error about others.
You may mock social science research and claim it’s riddled with flaws inherent to the study of human beings, and I would agree with you. But it’s not worthless, and every now and then it comes up with something exceedingly interesting.