The Idolators Argument that their Shirk was Divinely decreed, and the Refutation of this Claim
Allah tells us about the idolators delusion over their Shirk, and the excuse they claimed for it based on the idea that it is ordained by divine decree. He says:
((They say:) "If Allah had so willed, neither we nor our fathers would have worshipped any but Him, nor would we have forbidden anything without (a command from) Him.") They had superstitious customs dealing with certain animals, e.g. the Bahirah the Sa'ibah and the Wasilah and other things that they had invented and innovated by themselves, with no revealed authority. The essence of what they said was: "If Allah hated what we did, He would have stopped by punishing us, and He would not have enabled us to do it." Rejecting their confusing ideas, Allah says:
Has a Rasul of Allah appeared in India and Pakistan too?
From verse 36 in the present Surah: وَلَقَدْ بَعَثْنَا فِي كُلِّ أُمَّةٍ رَّسُولًا (And We did raise a messenger among every people), as well as from verse 24 of Surah Fatir: وَإِن مِّنْ أُمَّةٍ إِلَّا خَلَا فِيهَا نَذِيرٌ (And there is no group of people among whom there has not been a warner - 35:24), it outwardly appears that messen-gers may have also been sent to areas now known as India and Pakistan - whether residents of the area, or located in another country whose deputies or emissaries had reached there. Then, there is the verse of Surah Al-Qasas: لِتُنذِرَ قَوْمًا مَّا أَتَاهُم مِّن نَّذِيرٍ (so that you may warn a people unto whom came no warner - 28:46). The sense released by the verse is that no warner had come before him to the people unto whom the Holy Prophet ﷺ was sent. This can be answered by saying that this obviously refers to the people of Arabia who became the first addressees of the prophetic mission of Sayyidna Muhammad al-Mustafa ﷺ - the fact being that no prophet since Sayyidna Ismail (علیہ السلام) had appeared among them. Therefore, the title given to these people in the Holy Qur'an was "Ummiyyin" (the unlettered ones). This does not necessarily imply that no prophet came before him in the rest of the world as well. Allah knows best.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 37–39
At some points God sent his prophets directly to mankind and at other points He arranged to convey His message indirectly through the deputies of prophets and their representatives. All of them advised man that God alone is entitled to be worshipped and prayed to. Satan tries to dissuade or divert man from such worship and prayer. Therefore, man should save himself from satanic inducements; otherwise he will be pushed into worshipping false gods. Though divine guidance is clear, its acceptance or rejection depends upon the extent of man’s seriousness about it. One who gives serious consideration to guidance will not take long to find the truth. But one who is not serious about it will remain enmeshed in trivial issues. Such a person can never find the Truth.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.