Should you start investing if a depression is coming? - Data analysis

Investing when a depression is coming. Is it bad moment to start investing to stock index that are usually seen as sage bets?