Śrīmad-Bhāgavatam · Text 3.28.2
Who is speaking and story frame
स्वधर्माचरणं शक्त्या विधर्माच्च निवर्तनम् ।
दैवाल्लब्धेन सन्तोष आत्मविच्चरणार्चनम् ॥ २ ॥
sva-dharmācaraṇaṁ śaktyā
vidharmāc ca nivartanam
daivāl labdhena santoṣa
ātmavic-caraṇārcanam
One should execute his prescribed duties to the best of his ability and avoid performing duties not allotted to him. One should be satisfied with as much gain as he achieves by the grace of the Lord, and one should worship the lotus feet of a spiritual master.
Read Śrīla Prabhupāda's purport on Vedabase.io