Having lived through multiple downturns and 15 to 20 years before retirement (I like to work and may never fully retire), it's still better to invest in the market. I have plenty of cash on hand to pay off my mortgage, but I'd rather see that money double over the next 5 years.