Those Afghan protestors or the Kurds?
You're right, not all Afghans are like this.
The ones who want a future for themselves and families don't go around spewing hatred against Pakistan or participate in these protests because they're too busy working, getting an education, etc...
This is why you don't see Pakistani's randomly protesting outside Indian embassies unless something major happens.
However, even among a lot of the decent ones they don't appreciate how amazing Pakistan is for even allowing them to live outside of refugee camps and work with few restrictions:
Many Western nations do everything they can to prevent refugees from even stepping foot on their shores literally building detention centers on remote Islands to house them so they don't have to offer them citizenship while countries like Bangladesh and Iran don't even allow refugees to leave their camps.
I met an Afghan refugee who was my Uber driver like a year or two ago and we had a great conversation. He was a religious Muslim and wanted better relations between our countries. He was sending back money to his family and I believe he was trying to get his brother into Canada.
This hate is primarily being instigated against Pakistan by the Afghan government who want to shift the blame for their failures, corruption and ineptitude.
Remember it's been 20 years of constant lying by various Afghan politicians and considering the average age in Afghanisan their country has practically been raised on those lies.
I personally think it could be a good idea to give Afghan refugees whose families have been in Pakistan for generations citizenship. If they consider themselves Pakistani, are loyal to the Islamic Republic of Pakistan and are good Muslims that live in accordance with our Islamic values. At least they'd be better than the pro-India, anti-Pakistan communist/whore trash that litters our country.
However we need to discern who would be a loyal citizen and who wouldn't.
Could impose rules like they need to be fluent in Urdu.
Personally I've found that the Tajik and Uzbek refugees are easier to figure out.
For this to work, and even in general, our citizenship law needs to be amended so citizenship can be quickly stripped away in case someone isn't loyal to the Islamic Republic of Pakistan and its Islamic values. That way if we make a mistake we can reverse it quickly on a case by case basis.