Read the following excerpt from a poem:
In the cavern of despair, echoing cries,
A light flickers dim, and hope slowly dies.
Each heartbeat an echo, each sigh a lament,
The weight of the shadows, a life often spent.
Based on the mood and tone of the excerpt, what is the predominant emotional atmosphere conveyed by the poet?