出生入死

Etymology
From.

This phrase 出生入死 has various interpretations, including "coming forth into life and entering death" or "exiting life and entering death" (see ).

The meaning "to risk one's own life" is attested earliest in Evocative Rhapsody on Autumn by  :

Idiom

 * 1) risking one's life; without regard to one's own life