Bhagavad Gita 14.18

ऊर्ध्वं गच्छन्ति सत्त्वस्था मध्ये तिष्ठन्ति राजसा: |
जघन्यगुणवृत्तिस्थ अधो गच्छन्ति तामसा:

Translation

Those situated in the mode of goodness rise upward; those in the mode of passion stay in the middle; and those in the mode of ignorance go downward.