Russia was not a friend, you're right. But, in the long term, Russia & China are uniting against the global order. It's best to follow what Imran Khan was saying and to keep them by our side. In a nuclear war, Pakistan would be demolished if it were to get on Russia's bad side. Russia's nukes could obliterate Pakistan, very easily. We already have Indian and Israeli nukes to deal with, and a potential France nuclear submarine at worst. China is our friend and I don't see the UK every attacking Pakistan. And the US cannot be trusted at all, it's better to have the US as an open enemy rather than a friend.
France, Israel, India & the US are the only countries that could take on Pakistan in a war. India mainly due to its location near Pakistan.
Russia could too, but it considers us its "partner", let's not make things worse. China of course is our ally. If Pakistan gets the right leader, and if we play our cards rights, we can very well be a powerful country.