With the exceptions I noted my experience has been starkly different.
I don't want to talk about race. It's a huge country with many distinct ethnicities and languages. What I will mention, at risk of being called names, is work ethic. The coworkers I mentioned who did solid work had been in the USA for some time and picked up the (long dead) culture of excellence in software. Most never did.
Far more common, universal among recent arrivals, was an adamant and aggressive mediocrity, doing the absolute least they could get away with doing, triumphally announcing every (badly) cleared task in email (when nobody else did) but otherwise completely uncommunicative.
In 2020 I was on a distributed team on a project that ultimately died as I knew it would because the guy doing the back end, named Lijo. was completely incompetent and wouldn't listen to anyone. On the daily zoom call (ugh) his voice was three times louder than anyone else's and he insisted on doing a screen share when he had nothing to demonstrate, hijacking our machines so we could watch him wiggle his mouse. I needed analgesics after every call. There were three other Indians on this team and they were soft-spoken and did good work.
Once I wrote a new back end entrypoint in a language called Django I didn't know very well; I asked him to review it and touch up the syntax. He completely rewrote it, very badly, changing the HTTP status codes so the code calling it wouldn't work anymore, reformatted it to his own preferred illegible slop (reformatting others' code is a serious provocation). It was terrible work. I tried three times to talk to him about it, maybe he had his reasons (wrong. A server exception is 500, not 400, and that's not a matter of style) and he never answered. I finally went to management, something I abhor doing, and all they heard was "conflict in the team." Since the company didn't do much testing they didn't know that his back end was going to fall flat on its face as soon as they prepared for release. I knew it because I usually do back end work. They never released, all that work wasted.
I mentioned hiring. OK, back in the days of the HIV epidemic I went to give blood and they wouldn't take mine because I'm gay and even though most gay men didn't have HIV, we were nevertheless more likely to. Well, such was the case in software hiring; sure there are a lot of good Indian developers but most companies tossed any Patel resume in the trash because the probability of getting a Lijo was just too high. OTOH when the hiring manager was Indian, nobody but other Indians was ever hired. Outsourcing to Indian companies risks having them go silent just before the project is done and then having them steal it and market it themselves.
I wrote about my Lijo experience on Medium, omitting his nationality and his name. I made $2500 from that one article. Apparently it resonated for a lot of people. I bought a Moog with the money.