Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:29:69

And those who strive for Us - We will surely guide them to Our ways. And indeed, Allah is with the doers of good.  

But as for those who struggle for Our sake, for Our truth, We shall assuredly guide them in Our ways, that is, the means to come to Us, and truly God is with the virtuous, the believers, assisting and helping. Meccan, except for verse 17, which is Medinese; it consists of 60 verses, revealed after ˹sūrat˺ al-Inshiqāq.
القرآن:٢٩:٦٩

وَالَّذِينَ جَاهَدُوا فِينَا لَنَهْدِيَنَّهُمْ سُبُلَنَا ۚ وَإِنَّ اللَّهَ لَمَعَ الْمُحْسِنِينَ  

{والذين جاهدوا فينا} في حقنا {لنهدينَّهم سُبُلنا} أي طريق السير إلينا {وإن الله لمع المحسنين} المؤمنين بالنصر والعون.