Bhagavad Gita 14.10
राजस्तमश्चाभिभूय सत्त्वं भवति भारत |
रजः सत्त्वं तमश्चैव तमः सत्त्वं रजस्तथा
Translation
Sometimes goodness (sattva) prevails over passion (rajas) and ignorance (tamas), O scion of Bharat. Sometimes passion (rajas) dominates goodness (sattva) and ignorance (tamas), and at other times ignorance (tamas) overcomes goodness (sattva) and passion (rajas).