कर्मण्येवाधिकारस्ते मा फलेषु कदाचन।
मा कर्मफलहेतुर्भूर्मा ते सङ्गोऽस्त्वकर्मणि॥
karmaṇy evādhikāras te mā phaleṣu kadācana | mā karma-phala-hetur bhūr mā te saṅgo 'stv akarmaṇi
You have a right to your actions alone, never to their fruits. Let not the fruit of action be your motive, nor let your attachment be to inaction.
Bhagavad Gita 2.47.