It's important not to conflate Islamist terrorists with Pakistan.
Then why do they hide terrorists .They have indirect dictatorship in their military which has even arrested Imran khan which was democratically elected.
Hafiz Saeed – 26/11 mastermind, LeT chief – Under house arrest (periodically), largely protected
Masood Azhar – Pulwama attack planner, JeM chief – “Missing” in Pakistan, believed sheltered
Osama Bin Laden – 9/11 mastermind – Dead (killed in Abbottabad, 2011)
Ayman al-Zawahiri – Al-Qaeda chief – Dead (killed in U.S. drone strike, 2022)
Dawood Ibrahim – 1993 Mumbai blasts, D-Company head – At large, lives in Karachi
Zaki-ur-Rehman Lakhvi – 26/11 handler – Released, protected by state
Abdul Rehman Makki – LeT senior leader – Arrested after FATF pressure (2023)
Syed Salahuddin – Hizbul Mujahideen chief – Free, operates openly in Pakistan
Mullah Omar – Taliban founder – Dead (reportedly in Pakistan, 2013)
Ehsanullah Ehsan – Malala attacker, ex-TTP – “Escaped” Pakistani custody (2020)
Abdul Aziz – Lal Masjid cleric – Free, active in Islamabad
Ilyas Kashmiri – Al-Qaeda commander – Dead (drone strike in Pakistan, 2011)
Baitullah Mehsud – TTP founder – Dead (drone strike, 2009)
Fazlullah – Ordered Malala attack – Dead (drone strike, 2018)