Srimad Bhagavatam Canto 04, Chapter 29, Text 17

SB 4.29.17

yatha yatha vikriyate
 gunakto vikaroti va
tatha tathopadrastatma
 tad-vrttir anukaryate
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Formerly it was explained that the Queen is one’s intelligence. While one is awake or asleep, that intelligence creates different situations. Being influenced by contaminated intelligence, the living entity envisions something and simply imitates the actions and reactions of his intelligence.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The queen of Purañjana is described herein as intelligence itself. Intelligence acts both in the dream state and in the waking state, but it is contaminated by the three modes of material nature. Since the intelligence is contaminated, the living entity is also contaminated. In the conditioned state, the living entity acts according to his contaminated intelligence. Although he simply remains an observer, he nonetheless acts, being forced by a contaminated intelligence, which in reality is a passive agent.
Srimad Bhagavatam Canto 04, Chapter 29, Text 16
Srimad Bhagavatam Canto 04, Chapter 29, Text 18-20