This article is part of the Journal’s quarterly markets review.

The S&P 500 has soared 800% over the past 30 years, overcoming bear markets and a financial crisis. It almost seems as if stocks can’t go down, at least not for long.

On Dec. 29, 1989, the Nikkei Stock Average closed at a record 38915.87. Then it fell. And it never came...