Śrīmad-Bhāgavatam · Text 6.17.19
Who is speaking and story frame
नैवात्मा न परश्चापि कर्ता स्यात् सुखदु:खयो: ।
कर्तारं मन्यतेऽत्राज्ञ आत्मानं परमेव च ॥ १९ ॥
naivātmā na paraś cāpi
kartā syāt sukha-duḥkhayoḥ
kartāraṁ manyate ’trājña
ātmānaṁ param eva ca
In this material world, neither the living entity himself nor others [friends and enemies] are the cause of material happiness and distress. But because of gross ignorance, the living entity thinks that he and others are the cause.
Read Śrīla Prabhupāda's purport on Vedabase.io