Surah Al-Imran, ayah 92

3:92

لَن تَنَالُواْ ٱلۡبِرَّ حَتَّىٰ تُنفِقُواْ مِمَّا تُحِبُّونَۚ وَمَا تُنفِقُواْ مِن شَيۡءٖ فَإِنَّ ٱللَّهَ بِهِۦ عَلِيمٞ ٩٢

Lan tanālul-birra hattā tunfiqū mimmā tuhibbūna wamā tunfiqū min shay'in fa innallāha bihī 'alīm

Never will you attain the good [reward]138 until you spend [in the way of Allāh] from that which you love. And whatever you spend - indeed, Allāh is Knowing of it.

Footnotes

138 Another meaning is "You will never attain righteousness."