(idiom) to jump into a well to save someone; figuratively, to do something foolish that harms oneself without benefiting others, or to try to do good in a wrong-headed way
to risk one's life to help others
(idiom) to risk or sacrifice one's own life to rescue someone else