One verse

Srimad Bhagavatam 10.1.48

10.1.48

मृत्युर्बुद्धिमतापोह्यो यावद्बुद्धिबलोदयम् । यद्यसौ न निवर्तेत नापराधोऽस्ति देहिन: ॥ ४८ ॥

mṛtyur buddhimatāpohyo yāvad buddhi-balodayam yady asau na nivarteta nāparādho ’sti dehinaḥ

mṛtyuḥ
death
buddhi-matā
by an intelligent person
apohyaḥ
should be avoided
yāvat
as long as
buddhi-bala-udayam
intelligence and bodily strength are present
yadi
if
asau
that (death)
na nivarteta
cannot be checked
na
not
aparādhaḥ
offense
asti
there is
dehinaḥ
of the person in danger of death

As long as he has intelligence and bodily strength, an intelligent person must try to avoid death. This is the duty of every embodied person. But if death cannot be avoided in spite of one’s endeavors, a person facing death commits no offense.