And each [story] We relate to you from the news of the messengers is that by which We make firm your heart. And there has come to you, in this, the truth and an instruction and a reminder for the believers.
Allah, the Exalted, is saying, `We relate all of these stories to you (Muhammad) concerning what happened with the Messengers who came before you with their nations. This is an explanation of what transpired in their arguments and disputes and how the Prophets were all rejected and harmed. These stories also explain how Allah helped His party of believers and disgraced His enemies, the disbelievers. We relate all of this to you (Muhammad) in order to make your heart firm and so that you may take an example from your brothers who passed before you of the Messengers.' Concerning Allah's statement,
وَجَآءَكَ فِى هَـذِهِ الْحَقُّ
(And in this has come to you the truth,) This is referring to this Surah itself. This was said by Ibn `Abbas, Mujahid and a group of the Salaf and it is the correct view. This means, `This comprehensive Surah contains the stories of the Prophets and how Allah saved them, and the believers along with them and how He destroyed the disbelievers. There has come to you (Muhammad) stories of truth and true events in this Surah. In this Surah is an admonition that prevents the disbelievers, and a reminder that causes the believers to reflect.'
Ma'arif al-Qur'an
Mufti Muhammad ShafiOn ayahs 118–123
Difference: Blameworthy and Praiseworthy
When it was said in the fifth verse (118) - ` had your Lord willed, He would have made all the people a single community' - the sense is that had it been the will of Allah, He would have made all human beings accept Islam by force. All of them would have then become nothing but Muslims without any difference remaining between them. But, such are the dictates of His wisdom that, in this world, Allah Ta` ala does not compel anyone to do something. Instead, He has entrusted man with a kind of choice under which he could do whatever good or bad he wishes to do. Then, human temperaments differ, ways differ and deeds differ. The outcome is that there always will be some people who would keep at loggerheads against the true faith - of course, with the exception of those whom Allah Ta` ala has blessed with His mercy, that is, those who have been following the noble prophets.
In our world, there are innumerable creatures besides human beings. All these creatures follow the one fixed path of nature at all times. Similarly, God could have created human beings as compulsory followers of the straight path too. But this is in no way God’s scheme with regard to human beings. God’s plan was that they would be so created that they should, of their own accord, be able independently to make correct moral choices. The difference in the world of human beings (i.e. some of them adopting one way and others adopting an other way) is, in fact, due to this special plan of God. This plan was certainly a risky one, because it meant that many people had the opportunity to misuse their freedom and thus make themselves liable to be cast into hell. But, with the help of this very plan, such noble souls could be chosen as could be treated as deserving the special grace of God. God has blessed the entire universe with His bounties. Now, God devised this plan so that He might give His creatures the benefit of His grace, saying, ‘You are entitled to this.’ God’s grace will be granted to that person whose consciousness is so alert that he recognizes in the power given to him by way of testing him his real powerlessness. Such a person will be able to see through the veil of human power and have a glimpse of God’s power behind it. Such perceptiveness takes away the capacity for arrogance in a man. So much so that, when God grants him His Grace saying, ‘This is your entitlement,’ in his awareness of reality he cries out, ‘O God! This is also a manifestation of Your grace, otherwise my deeds have no value.’