You have a right to perform your prescribed duties, but you are not entitled to the fruits of your actions.

Bhagavad Gita Chapter 2, verse 47