Pakistan is a South Asian country and western neighbour of India. It was created in 1947 after being partitioned from India during independence. It has longstanding border disputes with India and is currently reeling under economic and political issues.
Either Indians don’t understand Pakistan or mischaracterize events in Pakistan to suit their own propaganda. You cannot associate everything that happens in Pakistan to its military, which is piwerfy but not all-powerful. Pakistan does have state institutions, such as the judiciary, which do play an independent role. Indians keep forgetting that it was Pakistani judiciary which eventually brought down Pervez Musharaf.
The crocodile has become too large for the pond, is threatening the entire eco system. If the army was really such a fine, nationalist institution, all that stands between Pakistan and external threats / internal chaos / venal politicians, considering that it was directly in charge for so long and still has a veto right over much of what civilian governments do, how come Pakistan is in such a mess, living partly on the generosity of rich cousins. The best any CJP can do is to steadily improve the working of the judiciary, afford relief to ordinary citizens, understand what the limits to his power are, not cross the army’s red lines. That would also be the remit of the Prime Minister. Uprooting this monstrous tree will not be easy.