No, the 21-22 class didn't pick the worst time to retire. In fact, at that point in time they picked the best time so far, since they had saved and invested more than ever before. That said, the returns in 2022 are horrible so with the wisdom of hindsight it would have been particularly valuable to keep working and investing for one more year. But saying they picked the worst time ever ignores the fact that picking an earlier time would have been even worse.
Of course this assumes that this retiree happened to follow the economy enough to realize that by late 2021 stocks were way overpriced by all metrics so choosing a 4% withdrawal rate would put them in the danger zone. If someone just hit 25x in late 2021 and immediately retired with no flexibility in spending, then better to consider it a sabbatical and go back to work.