Check
Dunning and Kruger attributed this bias to a metacognitive inability of the unskilled to recognize their own ineptitude and evaluate their own ability accurately.
Check
...the effect is the result of internal illusion in the unskilled, and external misperception in the skilled: "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."
https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect