"Psilocybin has been used to treat anxiety with terminal cancer patients," he says. "One reason why they felt so good after treatment is the ego dissolution is they become part of something larger: the universe. This led them to a new perspective on their death."
I hadn’t thought of it for that use specifically but makes sense.