This quest to control Afghanistan to own advantage has impacted Pakistan adversely for many decades.
Why can’t Afghanistan have good relations with India and bad with Pakistan? Should India do the same with Bangladesh for trying to build bridges with Pakistan and burn with India? My answer is NO.
Each nation is free to charter a path for itself. Indian can try and mend it’s ways with Bangladesh through mutually beneficial actions. It can’t get into invading a nation to install a favourable regime. I do agree that Afghanistan giving refuge to any terrorist elements should not be allowed.
Beyond that Intervening too much hasn’t worked out till date and isn’t likely even in the future.
Baaki, time batayega, ki kya sahi hai aur kya galat.