The analogy makes sense but is much easier to see in hindsight. Plenty of people during the Depression bought stock after they believed the market bottomed out only to witness their wealth go to nothing because the market continued shrinking after short periods of growth. It’s almost impossible to know whether a crash has turned around when it’s happening.
Dollar cost averaging, diversifying assets, and keeping liquid on hand is easier than trying to predict the market.