Surah Al-An'aam

6:154

ثُمَّ ءَاتَيْنَا مُوسَى ٱلْكِتَٰبَ تَمَامًا عَلَى ٱلَّذِىٓ أَحْسَنَ وَتَفْصِيلًۭا لِّكُلِّ شَىْءٍۢ وَهُدًۭى وَرَحْمَةًۭ لَّعَلَّهُم بِلِقَآءِ رَبِّهِمْ يُؤْمِنُونَ

Then We gave Moses the Scripture, making complete [Our favor] upon the one who did good and as a detailed explanation of all things and as guidance and mercy that perhaps in [the matter of] the meeting with their Lord they would believe.

Tafsir 6:154

After all this, I relate to you that I gave the Torah to Moses as a completion of My favour and a reward for his good actions, to make everything required in religion clear, and as a mercy in the hope that they would have faith in the meeting with their Lord on the Day of Judgement and prepare for it with good actions.