Just cause India will never reach China's potential doesn't mean it will not become the 3rd largest economy. Its pretty much already there. No one thinks India will not grow from 4 trillion to 6 trillion and surpass Germany. Even if it takes 20 years, its certainly going to happen, all thanks India's extreme population and extemely low GDP per capita. Just little bit of urbanization alone will take India to 3rd largest economy.
Germany on the other is not going to grow much in the foreseeble future cause all its industries are going to be eaten by China. They cant move up the value chain and take away market share from US for things like software and AI. So, Germany is done.
Frankly I do get really worried about India because of its population. If they get even remotely good at modernization, they will pose a threat to China long term, just due to population heft.
I want China to take India more seriously, hobble it with all its might and hopefully break it into pieces. China seems too focused on US and the west, which in understandable. But India is the latent threat that must be taken out.