Psychology says the least skilled people are the most confident in their own competence, precisely because the skills needed to do a task well are the same ones needed to know you’re doing it badly.
A famous psychology finding has been weaponized to mock incompetent people, but the researchers who discovered it say we've gotten the mechanism entirely wrong.