Yōga Sūtras
Yōga Sūtra 2.15
परिणामतापसंस्कारदुःखैर्गुणवृत्तिविरोधाच्च दुःखमेव सर्वं विवेकिनः।
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.