Surah An-Najm

53:39

وَأَن لَّيْسَ لِلْإِنسَٰنِ إِلَّا مَا سَعَىٰ

And that there is not for man except that [good] for which he strives

Tafsir 53:39

And that man will only obtain the reward of the action that he did.