Corpses were mummified to extract the sinful aspects of the righteous and prepare the body for eternity so the soul could recognize its former home and visit it for renewed vitality.