You are thinking along the same lines as I am. Musk fired Twitters entire Indian staff with a nasty email, and bounced their final checks. Educated Indians will not be working for him. China is cracking down on foreign tech companies, and America is cracking down on Chinese tech companies, so China is out of the question.
A year ago, I would say Russia, but with the invasion of Ukraine, Russia has lost access to the world, and lost their best people. Musk even made trouble with Brazil.
There are programmers in South Africa. Not a lot, but a few really good ones. Southeast Asia has a growing number of programmers, but also few in number. This is not an easy problem.