Here's what we know about the Elf-King:
* He's the ruler of the Woodland Realm: He maintains order and protects his people.
* He's wise and powerful: He's able to command his elves and hold his own against Gollum.
* He's a protector of the forest: He values the natural world and defends it from harm.
While he doesn't have a specific "purpose" arc, his actions reflect a sense of duty and responsibility:
* He rescues Bilbo: This shows his compassion and willingness to help those in need.
* He confronts Gollum: This demonstrates his courage and protection of his kingdom.
* He allows Bilbo to keep the ring: This highlights his wisdom and understanding of the ring's power.
Therefore, rather than learning of purpose, the Elf-King embodies a sense of purpose through his actions and leadership, emphasizing the importance of responsibility, protection, and wisdom.