elegy
a poem or song of mourning
Elegy is grief shaped into language.
The poet wrote an elegy for the friend she had lost.
An elegy is often quieter than a public lament. It turns loss into a poem, speech, or song that tries to hold the person in memory.