(Hektor:) 'But now my death is upon me. Let me at least not die without a struggle, inglorious, but do some big thing first, that men to come shall know of it.' (22.303-305)
Even when he feels death hanging over him, Hektor's sense of pride dictates his actions. Knowing that he did not die a shameful death is his final consolation.