Legacy. It was something a cultivator left for his or her juniors. Treasures, artifacts, techniques, and pills - anyone would not refuse such things.
The reason why most cultivators kept their inheritance/legacy intact in some hidden dimension or behind some big mountain only for it to be found by a lucky adventurer was that they wanted to create a better version of themselves.
Having lived a long life, most would have regrets that they could not reach the higher ranks with their techniques. They mostly blamed it on their inadequacy for that. In their last years, a desire manifests, to find the most talented practitioner or cultivator and teach them their techniques.
Most would search for disciples but finding a heaven-defying talent was near to impossible. Thus, they would form legacies and leave them for talented juniors, so that they could bring fame to their dead name.