Bhagavad Gita · 18.36
सुखं त्विदानीं त्रिविधं शृणु मे भरतर्षभ।अभ्यासाद्रमते यत्र दुःखान्तं च निगच्छति॥
sukhaṁ tv idānīṁ tri-vidhaṁ śhṛiṇu me bharatarṣhabha abhyāsād ramate yatra duḥkhāntaṁ cha nigachchhati
Now hear from Me, O best of the Bharatas, about the three kinds of happiness. That happiness which one enjoys through practice and by which one comes to the end of suffering...
— Bhagavad Gita 18.36
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)