Bhagavad Gita 14.16

Chapter 14: The three gunas

कर्मणः सुकृतस्याहुः सात्त्विकं निर्मलं फलम् ।
रजसस्तु फलं दुःखमज्ञानं तमसः फलम् ॥ १६ ॥

It is said the fruit of a good action is harmonious and spotless; verily the fruit of Motion is pain, and the fruit of Inertia unwisdom

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.