Bhagavad Gita 3.20

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

karmaṇaiva hi saṃsiddhimāsthitā janakādayaḥlokasaṃgrahamevāpi saṃpaśyankartumarhasi

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

गीता