I just came across one of the cooler treasure tales:
Basically, there is a mountain called the "Reichenspitze" ("Rich Men's Peak") in Austria. There are vast treasures of gold and silver in its depths, guarded by ghosts.
You _are_allowed to take as much of these riches with you as you can carry. But if you do, you are fated to join these ghosts after death and guard these treasures for all eternity!
https://archive.org/details/bub_gb_0iYWAAAAYAAJ/page/584/mode/2up
https://en.wikipedia.org/wiki/Reichenspitze
@juergen_hubert
And I assume the wealth returns as well?
In either case, it's very on the nose for capitalism.