Allah tells us that if people were to be punished before proof was established against them, they would use the excuse that no Messenger came to them, but when the truth did come to them through Muhammad ﷺ, in their stubbornness, disbelief, ignorance and misguided thinking, they said:
لَوْلا أُوتِىَ مِثْلَ مَآ أُوتِىَ مُوسَى
(Why is he not given the like of what was given to Musa) Meaning -- and Allah knows best -- many signs like the staff, the hand, the flood, the locusts, the lice, the frogs, the blood, the destruction of crops and fruits -- which made things difficult for the enemies of Allah -- and the parting of the sea, the clouds (following the Children of Israel in the wilderness and) shading them, the manna and quails, and other clear signs and definitive proof, miracles which Allah wrought at the hands of Musa as evidence and proof against Fir`awn and his chiefs and the Children of Israel. But all of this had no effect on Fir`awn and his chiefs; on the contrary, they denied Musa and his brother Harun, as Allah tells us:
وَلَقَدْ وَصَّلْنَا لَهُمُ الْقَوْلَ لَعَلَّهُمْ يَتَذَكَّرُونَ (And We have conveyed (Our) words to them one after the other, so that they may take to advice. - 28:51). The word وَصَّلْنَا (wassalna) is derived from وتَصِیل (Tausil), which literally means to strengthen the rope by adding more strings to its strands. Here it means that Allah Ta` ala has maintained the continuity of guidance. Certain advisory subjects are repeated in the Qur'an in order to make them more effective.
Certain rules for preaching
It shows that an important trait of preaching carried out by the prophets was that they used to convey the truth to people continuously. Rejection and falsifying of truth did not deter them at all from their mission. Instead, if someone did not listen to them the first time, they repeated it the second time, and if they did not succeed even the second time, they used to reiterate it a third time, and so on, without showing any sign of exhaustion. It is true that no preacher or sympathizer has power to change one's heart, but what the prophets could do was to keep on making their efforts without being dishearted or exhausted. Even today the same principle applies, and those who preach should take a serious note of it.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 51–55
The real criterion for the acceptance or rejection of the message of Truth is its assessment on the basis of its inherent worth. If the message itself establishes that it is inherently a greater Truth, then that is sufficient to warrant its acceptance. Only Truth can answer Truth. If a man denies a truth and is unable to produce any other superior truth in its place, it indicates that he is denying the Truth as a result of following the dictates of his base desires. Those who behave in this way, have gone astray and are the worst of people. Such people will be treated as transgressors by God.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.