You probably get why Tom wants to be a pirate: it sounds exciting and dramatic.
But notice how the snippet doesn't tell us Tom's motivation.
- It doesn't say, "Tom loved adventure and so to experience daily adventure he decided to be a pirate."
- Instead it describes the experience of being a pirate in a way that evokes the underlying emotions of glory and power that are really what motivate Tom here.
The emotional effect is created through a combination of:
- Evocative words (glowing, unimaginable, splendor, shudder, gloriously, dancing, grisly).
- Poetic metaphor (his future lay plain, his name would fill the world, he would go plow the dancing seas).
- Repetition (of emphatic adverbs (now, how—which also rhyme)—and exclamation marks!!!).
Also note the sentence lengths and punctuation—the way that short exclamations are used to build energy, and longer descriptive sentences paint a vivid picture.
All these elements are effective because of that link between motivation and emotion: if we can understand how someone feels, we can also understand what they want.