yajante sattvika devan yaksha-rakshamsi rajasah
pretan bhuta-ganamsh canye yajante tamasa janah
Translation:
Those in goodness worship the demigods; those in passion worship the spirits of the ancestors and those in ignorance worship ghosts.
Translation: