Fun fact, you can get good foreign engineers as good as any SF engineer but they also tend to be as costly as their US counterpart maybe slightly less do to lower living costs.
There are excellent engineers in SF, but that's not the standard. It's the result of strict selection processes.