Bhagavad Gita 13.21

Chapter 13: The field and its knower

कार्यकारणकर्तृत्वे हेतुः प्रकृतिरुच्यते ।
पुरुषः सुखदुःखानां भोक्तृत्वे हेतुरुच्यते ॥ २१ ॥

Matter is called the cause of the generation of causes and effects; Spirit is called the cause of the enjoyment of pleasure and pain.

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