Very interesting, and I understand and appreciate what you are saying. Hardly anybody believes this, but this...
Make terrorism not appealing to them, give them a better life
is exactly what we have been trying to do. The better life comes from eliminating the insanity that is Taliban governance, and assisting economically. Teaching and training in areas like agriculture, civil engineering, hospitals, schools, factories. That is what large teams of U.S. personnel and billions of $$ are trying to accomplish.
My daughter was part of that, but was totally discouraged by both extreme corruption, and also a "just don't care" attitude that so many Afghanis seemed to have. For example, they'd deliver a huge load of medical supplies to a rural clinic, and within a week, they'd see 80% of the supplies being openly sold in the local bazaar. For them, it was maddening.
You saw success in the KSA because they were your people, your citizens. We, on the other hand, are seen as "brutal invaders." A portion of the forces there are obviously military; offensive and defensive operations. Another part is the infrastructure-building people, but these are being regularly attacked.
Given that money and goods in Afghanistan is doing nothing for the people there, it's time to leave. The Taliban WILL return. They will beat men without beards, people listening to music, whip women who show skin, and gas girls' schools. It's tragic, but we cannot fix it. So long as they keep their violence inside Afghanistan, we'd best not be there.
But if they form terrorist camps and begin again to export their ideology, all bets are off.
What I don't understand is why so many Pakistanis are rooting for U.S. failure. The Taliban won't stay put in Afghanistan... they seek to export their ideology to Pakistan as well.