Also I would like to add, that companies in general are quite clueless about how to hire good engineers and set up hiring processes, which reward talkers and liars, rather than good engineers. Someone not able to write a loop will be found out, but that doesn't mean they won't hire other types of mediocre engineers, instead of good ones, that they gave a pass. Don't forget, that often not even any engineer is involved in taking a look at someone's application or its contents. Often it is HR going off of checklists, which leads to them ending up with the people, who have fake CVs ticking all the boxes.
I wish companies were able to distinguish better, because then your point would stand, that talented engineers had far more leverage. Lately though, I have lost my faith in that.