Look at the record... India was in deep economic mess when it was closest to USSR and only started growing economically (spectacularly) when it integrated with America.
What does India get from Russia... honey traps?
We had our own reasons to detest USA and its minions. When UK left India and other surrounding regions, the void got filled by USA. We kept seeing them as expansionist powers. The one left and second ready to occupy. We got out independence after fighting a very long, insulting, ugly and exploitative fight which literally ripped us apart and stripped us poor and naked. We had no respect for western world on ground. NAM also originated from same hate towards exploitative hyper powers as a counterbalance. Nehru also talked about making India nuclear weapon state as a leader of the NAM world.
It is not the first time people have made comment like you using the hindsight and wrong comparisons.
Our friendship with Russia wasn’t formed in a day. Their help and support protected us at very critical times and there was no switching off, will never be after that.
There is a very popular statement for entry-level analysts that there are no friendships but national interests in geopolitics.
In reality no nation breaks the links or friendships. The strategic bonds are built to endure disagreements and tolerate tantrums. The weaning off happens very subtly depending on how you improve your self reliance index. Even in that case nothing is switched off. You remain friend and remain in business for sake of having best possible margins to move and to keep every option viable.
Being better off because of warming relationship with USA is an undeniable fact but it was suppose to follow it natural course to be where it is today. There was nothing we could have done to expedite it.