The Iliad does not end with a character's dying words. It concludes with the funeral of Hector. The final lines (Robert Fagles translation):
"And so they buried noble Hector, tamer of horses."
The focus is on the war's tragic closure and the finality of death; the last spoken words in the poem are the mourners' laments.