Sāṅkhya Yoga · Verse 27
"जातस्य हि ध्रुवो मृत्युर्ध्रुवं जन्म मृतस्य च | तस्मादपरिहार्येऽर्थे न त्वं शोचितुमर्हसि"
"jātasya hi dhruvo mṛtyur dhruvaṃ janma mṛtasya ca | tasmād aparihārye 'rthe na tvaṃ śocitum arhasi"
For for the born, death is certain, and for the dead, birth is certain. Therefore, regarding something unavoidable, you should not grieve
The cycle of saṃsāra is inescapable: jātasya mṛtyuḥ (for the born, death), mṛtasya janma (for the dead, birth). Dhruva (certain, firm) describes both as natural laws.
Aparihārya (that which cannot be avoided, evadable) — the artha (matter, situation, object) is the cycle itself. Grieving the inevitable is irrational; better to act with equanimity toward what cannot be changed.
The hi (certainly, for) connects with universal empirical evidence. All the born die; all the dead are reborn in some form.