Sure Al-Kahf

18:44

هُنَالِكَ ٱلْوَلَٰيَةُ لِلَّهِ ٱلْحَقِّ ۚ هُوَ خَيْرٌۭ ثَوَابًۭا وَخَيْرٌ عُقْبًۭا

In dem Fall gehört (all) die Schutzherrschaft Allah, dem Wahren. Er ist der Beste im Belohnen, und Er verschafft den besten Ausgang.

Tafsir 18:44

In that situation, victory is for Allah alone. He, may He be glorified, is best in rewarding His friends who have faith, as He multiplies the reward for them, and He is best in outcome for them.