Complete the story with an appropriate ending.
Input: Once upon a time there was a brave knight who set off on a journey to slay a dragon. After many days of travel, he reached the dragon's lair....
The brave knight stood before the fearsome dragon and prepared for battle. After a grueling fight, he emerged victorious and the kingdom rejoiced. The knight was given a place of honor and the dragon was put to service, providing the kingdom with warmth and light for many years.
But the courageous knight was no match for the dragon, and in the end he was slain by the monster. He lay dead in the wreckage of the dragon's lair, asking himself what better glory could have been hoped for by a foolish quest.