Bhagavad Gita 18.7

नियतस्य तु संन्यासः कर्मणो नोपपद्यते।मोहात्तस्य परित्यागस्तामसः परिकीर्तितः ॥१८.७॥

niyatasya tu saṃnyāsaḥ karmaṇo nopapadyatemohāttasya parityāgastāmasaḥ parikīrtitaḥ

Verily, the renunciation of obligatory action is not proper; the abandonment of the same out of delusion is declared to be Tamasic.

गीता