If your time frame is longer than seven years, then it just about always makes sense to leave your money in the market. Even if the market drops 20% in a crash, the market is up more than 20% now since people started majorly talking about fear of a recession a year ago, so it would’ve been better to put money in then than to avoid the market for fear of recession. There might be a recession in a year, but the market’s gains in that time might be bigger than the drop.