Surah Al-'Ankabut, ayah 6

29:6

وَمَن جَٰهَدَ فَإِنَّمَا يُجَٰهِدُ لِنَفۡسِهِۦٓۚ إِنَّ ٱللَّهَ لَغَنِيٌّ عَنِ ٱلۡعَٰلَمِينَ ٦

Waman jāhada fa innamā yujāhidu linafsihī innallāha laghaniyyun 'anil-'ālamīn

And whoever strives only strives for [the benefit of] himself. Indeed, Allāh is Free from need of the worlds.