Poland is an extreme case, but so is the US—I don't think any other country's stocks did so well during the 20th century. If someone were to write an article about how well Esso/ExxonMobil stock has done from 01926 to 02021 (11.9% I think), it would be easy to understand that this wasn't a recommendation to hold ExxonMobil for the next century, much less some other arbitrary stock; obviously the investors 95 years ago in the F.W. Woolworth Company and the Kennecott Mines Company didn't do quite as well, which is precisely why nobody would write an article today about buying and holding Woolworth's stock.
Will the US do so well over the next century? The spectacular bungling of the covid pandemic suggests that it may not.