A friend of my family met 15 different doctors for a period lasting years because of agonizing headaches, they all sent her home thinking it was nothing unusual. She died of a brain tumor the size of a tennis ball. We often think about what would've happened if one of those 15 doctors would've shown some humility.
To be clear, I work in tech, we have more than our fair share of big egos too. I don't think this is anything particular about doctors.
I understand that 99% of patients are clueless and that most providing information are likely misinformed by whatever they read on google, but every so often you meet a patient that actually knows more than you about their problems. The experience for this rare patient is almost always very poor.