Answer: to ensure their immortality after death
Explanation: The ancient Egyptians had a thorough process of funerary practices that they believed they had to go through to make sure the dead would be immortal/reach the afterlife. Some of these practices included mummifying the body, casting magic spells, and burying the dead body with things that they though would be necessary in the Egyptian afterlife. These practices were adopted over time.