She devoted her life to working among the poor.

Literal

She [topic-は] poor people's among [at-で] working thing [to-に] lifetime [object-を] devoted.

一生を捧げる (いっしょうをささげる) means 'to devote one's life.' ことに nominalizes the activity with こと, making it the target of devotion. 間で ('among') marks the social context.