Stocks have been on such a spectacular run lately. It’s easy to forget that it wasn’t always this way.