Why Pakistan's army can't handle a real war?

Why Pakistan's army can't handle a real war?
Pakistan is playing with fire days after the terror attack in Kashmir left 26 dead islamabad is flexing its military muscle now and they're doing that with missile tests and rhetoric to mask its fatal vulnerabilities.