Bhagavad Gita 2.11

Chapter 2: The yoga of knowledge

अशोच्यानन्वशोचस्त्वं प्रज्ञावादांश्च भाषसे ।
गतासूनगतासूंश्च नानुशोचन्ति पण्डिताः ॥ ११ ॥

Thou grievest for those that should not be grieved for, yet speakest words of wisdom. The wise grieve neither for the living nor for the dead.

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.