What is the earliest literary genre in ancient Egyptian literature?

In ancient Egyptian literature, poetry is relatively developed and the earliest literary genre. On the stone pillars and walls of ancient Egyptian cemeteries, papyrus scrolls and religious poetry collections, a large number of poems are preserved. They are rich in content and diverse in forms, including secular poems, religious poems, religious philosophy poems, hymns and so on.