Afghanistan - Is it really a graveyard of empires?

In recent years, especially with the clumsy US withdrawal, there were many talks about Afghanistan being the so-called “graveyard of empires”. The term, once limited to popular books and mass media, even penetrated scholarly circles. It seems to be a part of international popular culture, probably the most common trope and supposed fact known about the Afghani nation. This poses an important question about Afghanistan - is it really a graveyard of empires?