Not upon you, [O Muḥammad], is [responsibility for] their guidance, but Allāh guides whom He wills. And whatever good you [believers] spend is for yourselves, and you do not spend except seeking the face [i.e., approval] of Allāh. And whatever you spend of good1 - it will be fully repaid to you, and you will not be wronged.
Translation: Saheeh International (English)
1 i.e., wealth, property, resources, time, effort, etc.
فَلِأَنفُسِكُمۡۚthen it is for yourselffali-anfusikum
وَمَاand notwamā
تُنفِقُونَyou spendtunfiqūna
إِلَّاexceptillā
ٱبۡتِغَآءَseekingib'tighāa
وَجۡهِ(the) facewajhi
ٱللَّهِۚ(of) Allahl-lahi
وَمَاAnd whateverwamā
تُنفِقُواْyou spendtunfiqū
مِنۡofmin
خَيۡرٖgoodkhayrin
يُوَفَّwill be repaid in fullyuwaffa
إِلَيۡكُمۡto youilaykum
وَأَنتُمۡand youwa-antum
لَا(will) notlā
تُظۡلَمُونَbe wrongedtuẓ'lamūna
Tafsir
O Prophet, you are not responsible for making them believe in the truth and submitting to it: your duty is to guide them to the truth and explain it to them. It is only Allah Who can bring them to the truth; and He guides whomever He wishes. The benefit of any good you spend comes back to you; Allah is in no need of it. So, let your spending be only for Allah’s sake: true believers spend only for Allah’s pleasure. You will receive the full reward for any good you spend, no matter how little, because Allah does not wrong anyone.