Chapter 3 · verse 20 · gita.yoga.org

Bhagavad Gita 3.20

कर्मणैव हि संसिद्धिमास्थिता जनकादयः। लोकसंग्रहमेवापि संपश्यन्कर्तुमर्हसि

Janaka and others attained perfection indeed through action alone; even with the intention of protecting the masses, you should perform action.