Adhyāya 17Ch 17•Verse 4
"Men in the mode of goodness worship the demigods; ..."
Adhyāya 17 • Shloka 4
यजन्ते सात्त्विका देवान्यक्षरक्षांसि राजसाः | प्रेतान्भूतगणांश्चान्ये यजन्ते तामसा जनाः || ४ ||
yajante sāttvikā devān yakṣa-rakṣāṁsi rājasāḥ | pretān bhūta-gaṇāṁś cānye yajante tāmasā janāḥ || 4 ||
"Men in the mode of goodness worship the demigods; those in the mode of passion worship the demons; and those in the mode of ignorance worship ghosts and spirits."