Pyramid Texts
Funerary poems were thought to preserve a monarch's soul in death. The Pyramid Texts are the earliest surviving religious literature incorporating poetic verse. These texts do not appear in tombs or pyramids originating before the reign of Unas (r. 2375–2345 BC), who had the Pyramid of Unas built at Saqqara. The Pyramid Texts are chiefly concerned with the function of preserving and nurturing the soul of the sovereign in the afterlife. This aim eventually included safeguarding both the sovereign and his subjects in the afterlife. A variety of textual traditions evolved from the original Pyramid Texts: the Coffin Texts of the Middle Kingdom, the so-called "Book of the Dead", "Litany of Ra", and "Amduat" written on papyri from the New Kingdom until the end of ancient Egyptian civilization.