Historically, economic and political crises have been buying opportunities. Looking at 17 crises, ranging from President Wilson's nervous breakdown to the Gulf War, the stock market setback generally has been a short-term matter lasting no more than a few months.
The problem is that the stock market tends to predict downturns or upturns too early. The common joke is that the stock market predicted 11 out of the last 9 recessions.