I would say it is more accurate to say that a decline in general sentiment, and optimism, is what led to BOTH the dot com crash and 9/11. it is no coincidence that wars and economic downturns occur at the same time, but it is not because one leads to the other. Rather, when societies swing to feeling pessimistic (as part of a general cycle going from optimism to pessimism), they begin to cut back spending and investing, which leads to economic contraction.
Likewise, the despair that many people feel as a result of this pessimism (which may be exacerbated by a lack of jobs, or future prospects) can lead to anger and fear-mongering. The people who attacked American on 9/11 were generally frustrated young men who felt they had no future. It should be no surprise that there have been no major terrorist actions over the last several years, with the global economy booming and money just gushing into the middle east. Young Arab men are having too much fun spending money in Dubai at night-clubs these days rather than plotting to blow up American buildings.
Unfortunately, we are embarking on another down-cycle in societal sentiment again, and once the global economy heads into a recession I expect to see a LOT more angry unemployed men looking for someone to blame, and take revenge upon...
Likewise, all those hords of Chinese peasants currently slaving away erecting masses of condo towers for speculators will be sorely angered when their paycheques stop (when the bubble collapses). I wouldn't want to be a communist leader in China over the next 5 years!