Assumption #1 in your comment: NSA activities have not and are unable to stop arbitrary terror attacks at all.
Assumption #2: That successful attacks in this scenario would lead (reasonable or otherwise) people to demand less surveillance.
Assumption #3: Terrorists want to the NSA programs ended, which would not make sense if #1 is true.
So I'm not sure why this would be a good strategy for anyone.