We think long term , not everytime the enemy attacks you from outside.
Because if that were the case , india can alone handle the Chinese too , not only Pakistanis.
Destroying nations is a long campaign, you weaken the walls from inside the fort then outside enemies enter without obstructions.