Mobile app download

What is the purpose of narrating the stories of Prophet Moses (peace be upon him) in such detail in the Holy Quran?

فَجَعَلۡنٰہَا نَکَالًا لِّمَا بَیۡنَ یَدَیۡہَا وَ مَا خَلۡفَہَا وَ مَوۡعِظَۃً لِّلۡمُتَّقِیۡنَ ﴿۶۶﴾

66. پس ہم نے اس (واقعہ) کو اس زمانے اور اس کے بعد والے لوگوں کے لئے (باعثِ) عبرت اور پرہیزگاروں کے لئے (مُوجبِ) نصیحت بنا دیاo

66. So We made this (event) a lesson of warning for their contemporaries as well as later generations, and (a source of) admonition for the pious.

(الْبَقَرَة، 2 : 66)
اِنَّ فِیۡ ذٰلِکَ لَعِبۡرَۃً لِّمَنۡ یَّخۡشٰی ﴿ؕ٪۲۶﴾

26. بیشک اس (واقعہ) میں اس شخص کے لئے بڑی عبرت ہے جو (اللہ سے) ڈرتا ہےo

26. Surely, in this (incident) there is a great lesson of warning for him who fears (Allah).

(النَّازِعَات، 79 : 26)