Hrothgar's farewell speech contributes to the development of the text because it shows the difference between a good hero and a good king.
Hrothgar is a good king and tries to defend his people as best he can. However, he recognizes that he is not a good hero.
In his farewell speech, Hrothgar recognizes how Beowulf is a good hero and shows how he values Beowulf's friendship, but he shows how Beowulf fails to be a good ruler and that this will prejudge his establishment as a king and harm Beowulf's own life.
In this regard, Hrothgar states that:
With this speech, Hrothgar establishes the difference between a good king and a good hero, which is one of the most important themes in the entire epic.
Importantly, "Beowulf" is the epic that tells the story of how Beowulf defeated the monster Grendel.
More information:
https://brainly.com/question/1830314?referrer=searchResults