The ancient Egyptians believed that when we died, our spiritual body sought out an afterlife similar to this world. But entry into this afterlife wasn't guaranteed; it first required a perilous journey through the underworld, followed by an individual last judgment. For this reason, relatives and embalmers did everything they could to ensure that their loved one might reach a happy destination.
source https://www.lifetechnology.com/blogs/life-technology-science-news/golden-boy-mummy-was-protected-by-49-precious-amulets-ct-scans-reveal