Srimad Bhagavatam Canto 01, Chapter 17, Text 19

SB 1.17.19

kecid vikalpa-vasana
ahur atmanam atmanah
daivam anye ’pare karma
svabhavam apare prabhum
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Some of the philosophers, who deny all sorts of duality, declare that one’s own self is responsible for his personal happiness and distress. Others say that superhuman powers are responsible, while yet others say that activity is responsible, and the gross materialists maintain that nature is the ultimate cause.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
As referred to above, philosophers like Jaimini and his followers establish that fruitive activity is the root cause of all distress and happiness, and that even if there is a superior authority, some superhuman powerful God or gods, He or they are also under the influence of fruitive activity because they reward result according to one’s action. They say that action is not independent because action is performed by some performer; therefore, the performer himself is the cause of his own happiness or distress. In the Bhagavad-gita (6.5) also it is confirmed that by one’s mind, freed from material affection, one can deliver himself from the sufferings of material pangs. So one should not entangle oneself in matter by the mind’s material affections. Thus one’s own mind is one’s friend or enemy in one’s material happiness and distress.
 
Atheistic, materialistic Sankhyaites conclude that material nature is the cause of all causes. According to them, combinations of material elements are the causes of material happiness and distress, and disintegration of matter is the cause of freedom from all material pangs. Gautama and Kanada find that atomic combination is the cause of everything, and impersonalists like Astavakra discover that the spiritual effulgence of Brahman is the cause of all causes. But in the Bhagavad-gita the Lord Himself declares that He is the source of impersonal Brahman, and therefore He, the Personality of Godhead, is the ultimate cause of all causes. It is also confirmed in the Brahma-samhita that Lord Krsna is the ultimate cause of all causes.
Srimad Bhagavatam Canto 01, Chapter 17, Text 18
Srimad Bhagavatam Canto 01, Chapter 17, Text 20