Meh, the worst thing cycling did for itself (leaving morality/ethics and things like that aside) was try to become clean, and becoming the sport most synonymous with doping in the process. That always breaks the integrity of the sport in the minds of people forever, so all future results and achievements will have a major cloud hanging over them.
Look at something on the opposite end of the scale: tennis has always aggressively insisted doping doesn't exist (except for maybe some random #600 in the world) and protected it's top players, so when the 2 most doped players of all time, Nadal and Djokovic, arrived and destroyed the record books, it was able to keep the show going for almost 2 decades without much issue. Looking at Nadal (clear #1 doper and one of the most doped humans in history IMO), I'd argue he had 10+ years, where his relative athletic advantage over the field was greater than what Pogacar's relative advantage has been the last 2 years. He then went on to win 14 French Opens in 18 years (previous open era record was 6) and as a result the French installed a plaque on the tournament's center court. Not sure Pogacar would get the same reception if he somehow won 14 TdFs.
And now you have Alcaraz doing around Djokovic' level doping, with 6 slams at age 22, and it's also the greatest thing ever. (Willful) ignorance if always bliss, when it comes to running a professional sport.