Does the word "misery" have the same definition in the next two sentences?

The misery and wretchedness of those slums is intolerable.

She was exhausted by her misery and grief.
different meanings