give of oneself

高级 (C1) formal

To spend your own time and energy helping other people without thinking about what you get in return.

"She has spent decades giving of herself to care for the elderly in her community."