leaving them to the sorcery of the sorcerers, but if He did not, the sorcerers can not harm any one except by the leave of Allah.
Thus, they learned what may harm them in their religion because they intend to do harm to the people. The Jews who replaced faith with sorcery knew that they will have no share in the Hereafter; so how bad is their trade.
Ibn Kathir (may Allah bestow mercy on his soul)said concerning the story of Harut Marut: The output of the story is related to the news of the Children of Israel because it does not contain an authentic Hadith Marfu` (a Hadith narrated from the Prophet with a connected or disconnected chain of narration), who did not speak of whims. The outward of the context is to tell the story without details or verbosity because we believe in what was revealed in the Qur'an in the way which Allah intended and Allah knows best the fact of the case.
﴿وَلَوْ أَنَّهُمْ آمَنُوا واتَّقَوْا لَمَثُوبَةٌ مِّنْ عِندِ اللَّه خَيْرٌ لَّوْ كَانُوا يَعْلَمُونَ﴾ [البقرة: 103]
103 - If they believed and feared Allah by avoiding the sorcery, disbelief and polytheism which He prohibited, their reward would be better than the falsehood and evil which they satisfied for themselves.
﴿يَا أَيُّهَا الَّذِينَ آمَنُوا لاَ تَقُولُوا رَاعِنَا وَقُولُوا انظُرْنَا وَاسْمَعُوا ْوَلِلكَافِرِينَ عَذَابٌ أَلِيمٌ﴾ [البقرة: 104]
104 - O believers, do not resemble the Jews and the polytheists in their speech or their actions. Do not use double entendre as to say: "Ra`ina" which contains double entendre either make us understand or it means foolishness as the Jews used to say to the Messenger of Allah (peace be upon him), even if your intention was that they should take care of you and make you understand step by step. However, you should say: "Undhurna" i.e., recite us.
A painful torment is for the disbelieving Jews for what they have done and because they belittled the Prophet (peace be upon him).
﴿مَّا يَوَدُّ الَّذِينَ كَفَرُوا مِنْ أَهْلِ الْكِتَابِ وَلاَ الْمُشْرِكِينَ أَن يُنَزَّلَ عَلَيْكُم مِّنْ خَيْرٍ مِّن رَّبِّكُمْ وَاللّهُ يَخْتَصُّ بِرَحْمَتِهِ مَن يَشَاءُ وَاللّهُ ذُو الْفَضْلِ الْعَظِيمِ﴾ [البقرة: 105]
105 - The disbelievers, whether they are polytheists or from the People of the Scriptures, are severe in their enmity to you. They do not wish you any good, so do not resemble them or be kind to them because their hearts are filled with hatred and envy because of the wide mercy and great bounty that Allah granted you. He sent down the revelation to Muhammad (peace be upon him)while he lives among you, so, hold firm that for which they envy you, and be grateful to Allah for His Favor to preserve it for you and give you more. There is nothing more bounty better than the bounty of faith and responding to the call of the Prophet (peace be upon him), so be keen to that.
﴿مَا نَنسَخْ مِنْ آيَةٍ أَوْ نُنسِهَا نَأْتِ بِخَيْرٍ مِّنْهَا أَوْ مِثْلِهَا أَلَمْ تَعْلَمْ أَنَّ اللّهَ عَلَىَ كُلِّ شَيْءٍ قَدِيرٌ﴾ [البقرة: 106]