It's ridiculous to suggest that the solution to the problem is to kill this or that group of people, or that some people, like Afghans, are naturally prone to violence more than anyone else.
Europeans are historically the most violent people on earth, maybe after the Mongols. The Vikings were marauders who made a living out of raping, killing and looting. Descendants of the Vikings are now Danish, Norwegians, Swedish, some of the most peaceful people in the world. Similarly, European history is full of wars, but recently they've been peaceful, apart from the war in Ukraine.
Descendants of the Europeans who migrated to America are still the most violent people on Earth. They've been attacking the whole world for all their history.
So, to say that the Afghans or Pakistanis are irredeemable is nonsense. Both countries were destroyed by the British Indian Army of Pakistan and are full of teeming millions with no education or jobs. Afghanistan has been at war for the last 44 years. If Pakistan was developed it could have helped Afghanistan develop and no one would be running away to Europe.
In rankings of IQ, Afghanistan has a higher IQ than Pakistan (82 vs 80), so to say that Afghans are stupid is not true. Uneducated yes, but not genetically stupider than Pakistanis. Incidentally, Turkey's IQ is 87, higher than AfPak but lower than Europe.
worldpopulationreview.com