To your second point, it's clearly a very complicated blame game, but trying to distill it down to fit your own point is not helpful. We can easily follow the chain of events backwards - for example had the USSR not invaded Afghanistan, this might have all been avoided.
Certainly the trigger point was the Taliban refusing to hand over Bin Laden, thus providing a safe haven for him and other like minded folk.
This all seems to be besides my original point, which was that terror attacks clearly cost far more than the lives of the people killed, and so arguing that the benefit of the NSA is minimal by considering only a tiny fragment of its potential benefit is fallacious.
It's indeed fallacious because there is no benefit of the NSA at all - its current activities are the very cost of 9/11 attacks. Civilian deaths are not the goal of a terror attack, they're just collateral damage, means to an end. The goal of an attack is to, as you wrote, "disrupt a nation" - which is not something that the bombs do, it's something that the nation does to itself by having a crazy overreaction.
I hope you realize that this means the spending on it is quite high, indeed.
The reason Osama bin Laden wore that united states military jacket is because it was given to him during the CIA armament of the afghanis against the russians...
And to say that Afghanistan was caused by 9/11 is a total reversal of what actually happened, 9/11 happened because of CIA involvement in Afghanistan.