For success in the afterlife the pyramid ensured that the King can have all his belongings that he would need in his afterlife.
The Egyptians believed that they was an afterlife. According to them, those who were able to move to the afterlife deserved to be comfortable like they were on earth.
When they died, their most priced possessions were also sent along with them. These includes gold, silver and bronze items.
Also the servants and the animals of the dead were also interned in the pyramids. They were to serve the dead in the afterlife.
Read more on brainly.com/question/7831483?referrer=searchResults