The tradition says that when Buddha was about 80, he told his followers he would die soon. He was visiting the town of Kusinara, just south of modern-day Nepal, and frankly the middle of freaking nowhere at the time, and for that matter today. He ate a food offering and became violently ill, and died. Depending on the tradition you follow, there were either poison mushrooms or spoiled pork in that last meal, but the Buddha himself insisted it wasn’t the food and told Ananda, his chief of staff and personal servant, to reassure the person who’d given him the food that it wasn’t his fault.
While he was dying, he asked his students to ask him any final questions. His last words were: “Remember, everything that is an aggregate is perishable. Attend to your own salvation.”
The whole story, along with a long summary of the Buddha’s teachings, is in the Maha-parinibbana Sutta — we Mahayana Buddhists have a very different, and way more exciting, version in the Mahaparinirvana Sutra in which the Buddha is attended by 80 billion monks, speaks in a great voice that covers the whole world, and generally would make a lovely manga comic, but never mind that for the moment.
The thing is, this is one of the core Buddhist teachings: you get yourself into this trap, and you have to get yourself out. We live with duhkha, that pain of everything slipping away from us, because we’re ignorant of the reality that there’s nothing permanent to hang on to; we escape from duhkha and enter nirvana, peace of mind and the end of the pain of duhkha, when we really understand that there’s nothing permanent to hang on to. And like personal salvation in evangelical Christianity or recovery in Alcoholics Anonymous, you have to do it yourself. No one can recover for you.