Bhagavad Gita 13.10

Chapter 13: The field and its knower

असक्तिरनभिष्वङ्गः पुत्रदारगृहादिषु ।
नित्यं च समचित्तत्वमिष्टानिष्टोपपत्तिषु ॥ १० ॥

Unattachment, absence of self-identification with son, wife or home, and constant balance of mind in wished-for and unwished-for events,

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