A nation has internal threats and also external threats it is not just one problem you face it is multiple, both inside the country from foreign forces ask yourself which foreign forces are in pakistan? and you find your answer. External threats are obvious it is nations on the border who not muslim and have history of animosity with you and try to destabilize you.
So you have to be alert to many problems all the time and deal with these problems intellectually and correctly or you fail and the current monkeys in charge of pakistan are failing badly.