Shelley's poem "Stanzas Written in Dejection, Near Naples" is about depression. The speaker, whom we can assume to be the poet himself, is sitting at the shore watching the light on the water and thinking about his life, actually, feeling a little sorry for himself. He sees the beauty around him and knows he should be able to appreciate it, but he cannot. He sees people going about their daily business and bemoans that life has dealt him "another measure" so that he cannot take joy in his surroundings. Yet he admits that his despair is "mild, even as the winds and waters are," and not so consuming that he cannot live. He even thinks he might "lie down like a tired child" and passively wait for death rather than do anything to hasten it. It seems at first as if he may be suffering over a lover, but in the last stanza he appears to be lamenting that he is not well-known and appreciated when he says "I am one whom men loved not," and he hopes that someone might lament for and regret his passing.
In this first stanza of the poem, the speaker sets the scene. It is a beautiful day: the sun is "warm," the sky is cloudless, and the ocean's waves dance "fast" and bright. The mood is therefore peaceful and idyllic.
Next, the speaker looks down on the ocean floor and looks at the seaweed. He watches the waves again. He notes the beauty of this scene but also that he is alone. He does not have anybody with whom he can share this idyllic day:
How sweet! did any heart now share in my emotion.
In the third stanza, the tone and mood of the poem changes. The speaker, no longer enraptured by the beauty of nature, begins to focus on his life—specifically on all the things which it lacks, like "hope," and "health," and "peace." To make matters worse, the speaker knows lots of people who have all these qualities in abundance. They call life a "pleasure," while the speaker feels the opposite.
These thoughts make the speaker want to give up. He wants to lie down on the sand and "weep away the life of care." Death would come quickly, but he knows that some people would mourn his demise, just as he mourns the loss of this "sweet day" by thinking such unpleasant thoughts.
But the speaker closes the poem on a final, more positive note: he will not dwell on the negative but let this beautiful day live on in his memory.