India has amazing software engineers and less competent ones.

USA has amazing software engineers and less competent ones.

Europe has amazing software engineers and less competent ones.

etc

You get what you pay for, pay top end in India and they will be same as top end in Bay Area (and many in Bay Area/USA are migrants...)