Bhagavad Gita · 14.16
कर्मणः सुकृतस्याहुः सात्त्विकं निर्मलं फलम्।रजसस्तु फलं दुःखमज्ञानं तमसः फलम्॥
karmaṇaḥ sukṛtasyāhuḥ sāttvikaṁ nirmalaṁ phalam rajasas tu phalaṁ duḥkham ajñānaṁ tamasaḥ phalam
The fruit of righteous action is said to be pure and sattvic. The fruit of rajas is sorrow. The fruit of tamas is ignorance.
— Bhagavad Gita 14.16
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)