0
The purpose of a 'paean' is to thank someone for a triumph or heroic deed.
The word you are looking for is "paean."
After the horrific war was over, the bards sang a paean to show triumph, but also to remember the people lost in the battle.
A paean is a song of praise, from the Greek word of the same meaning.
A paean is a song or hymn of praise, typically dedicated to a god, hero, or nation. It is used to express gratitude, admiration, or celebration.