What Kakkar is saying that he will start a war with Taliban and the end result like Soviets and Americans will be to loose it.
I know many Indians have a bit of an inferiority complex when it comes to Afghans, so this might shock you:
Pakistan has fought and war multiple wars with Afghanistan - the first in the 60s, where Afghans surrendered, and the second, a proxy war, fought against both Afghanistan and the Soviets, from the 70s till the end of the Cold War, during which the Afghan government collapsed and a relatively friendly regime installed.
Pakistan has more Pashtuns than the rest of the world combined, including Afghanistan.
Pakistan understands the dynamics of tribal Afghanistan better than anyone - which is partly why Pakistan advised against the nation building stunt of the Americans.
Pakistan will not start the war with the objective of spending decades and trillions on nation building and installing a friendly government. That is what the Americans tried.
Instead, the objective will be to degrade and destroy terrorist infrastructure, and capture or kill terrorist commanders and their Indian handlers in Afghanistan (such as Jadhav, who India alleges was captured in Iranian soil).