expresses
a fatalistic attitude towards danger, often used to encourage someone to face a frightening prospect. It does not imply that unnecessary risks are wise.
Despite his fear, the explorer decided he would not spend his entire life avoiding every uncertain adventure. “You can only die once.”