The difference is much lesser 7-10x in big tech (Google, Amazon, Msft, etc). Big tech's Indian offices pays about 1/3 to 1/4 of what they would earn in the company's USA office. Levels.fyi will corroborate this.
Yes, while the average software engineer in India might earn 7-10x less than in the US, this isn't the case within major tech companies.