BG 18.36
सुखं त्विदानीं त्रिविधं श्रृणु मे भरतर्षभ
अभ्यासाद्रमते यत्र दुःखान्तं च निगच्छति
sukhaṃ tvidānīṃ trividhaṃ śrṛṇu me bharatarṣabha
abhyāsādramate yatra duḥkhāntaṃ ca nigacchati
TRANSLATION
Now hear from Me, O Arjuna, the threefold division of pleasure... That in which a man rejoices by long practice and in which he comes to the end of pain;
PURPORT
Now, hear about the pleasure to which the knowledge, action, agent etc., already mentioned are all subservient and which is threefold according to the Gunas. ...That pleasure in which a person, through long practice extending over a long time, gradually attains to incomparable joy and never again is engulfed by the pain of life in Samsara.
Shri Krishna explains the same: