By the time the Papyrus of Ani appeared around 1300 BC, the knowledge it contained had already vanished from the earth. It is not a text about helping the dead, as translators believe, but texts for helping living beings attain the Heavenly State while upon the earth. It contains the same knowledge the Shining Ones, Magians, Buddhas, Messiahs, Priest Kings, and so on, utilized to attain a state of enlightenment. Copied upon the document are the Words of the Supreme Absolute, passed down generation to generation via word of mouth, until hieroglyphics entered the picture. The key to understanding the ancient spiritual texts, such as this, is a correct translation, and for that, one needs to know the way.
The Egyptians thought the scroll contained various spells and discussed mummifying bodies for the afterlife; however, it discusses the Holy Breath and advances the thought of being reborn as a Buddha for helping others. To do that a person gives everything away to the community, moves into the woods to live with a Master, masters the breathing practices, and the practice of giving to all.
Here is a snippet from the Hymn of Osiris from the Papyrus of Ani.
To be strong is excellent for raising nectar to flow in the body for happiness and a brightness to cast to a wicked person to clean.