Or to put it more concretely, there is a long chain of "all-time highs" before the last all-time high. You would miss out on all that investment time if you avoided the market based on all-time highs. And then a correction comes -- but is it the one you were expecting or is there a bigger correction in the wings?
In the end, one never knows. None of the rules of thumb are reliable. And you can shoot yourself in the foot far more by trying to time, than by just buying and holding.