Agreed. If you are not incompetent, you will remember the stuff that you use often. You will know exactly where to look to refresh your memory for things you use infrequently, and when you do need to look something up, you will understand the solution and why it’s correct. Being good at looking things up, is like half the job.
No one alive is probably fit to do the job, it’s an impossible task. Those who may come close, would probably never actually want it. And of those who remain who do want it ( which already might make them not worthy for the position) are probably not electable due to the forces of capitalism preventing such a candidate from getting elected.
So what is left is simply a pragmatic choice of the lesser evil. Many people are acutely aware of this and have gotten over it. I suggest until you manage to enact some sort of drastic systemic change you get it over it as well.