Yōga Sūtra 2.15
परिणामतापसंस्कारदुःखैर्गुणवृत्तिविरोधाच्च दुःखमेव सर्वं विवेकिनः।
pariṇāmatāpasaṁskāraduḥkhairguṇavr̥ttivirōdhācca duḥkhamēva sarvaṁ vivēkinaḥ।
[परिणाम ताप संस्कार दुःखैः र्गुण वृत्ति विरोधात् च दुःखम् एव सर्वं विवेकिनः।
pariṇāma = the resulting; tāpa = heat; saṁskāra = and the imprints on mind; duḥkhaiḥ = the experienced misery; rguṇa = born out of qualities (satva, rajas, tamas); vr̥tti = actions; virōdhāt = caused by resisting; ca = and; duḥkham = misery; ēva = only; sarvaṁ = all are; vivēkinaḥ = for one who has discrimination;]
The resulting heat and the imprints on mind, the experienced frustration caused by resisting actions born out of qualities, all are misery only for one who has discrimination.