6-Surah Al-An’am ( The Cattle ) 88
That is the guidance of Allah by which He guides whomever He wills of His servants. But if they had associated others with Allah, then worthless for them would be whatever they were doing.
ذَٰلِكَ هُدَى اللَّهِ يَهْدِي بِهِ مَن يَشَاءُ مِنْ عِبَادِهِ ۚ وَلَوْ أَشْرَكُوا لَحَبِطَ عَنْهُم مَّا كَانُوا يَعْمَلُونَ
Quran's Tafhim ( explanation)
*56). Had those people also ascribed partners to God like the people of Arabia, they would not have achieved the positions they had attained.Some might perhaps have earned places in the rogues' gallery of history as either ruthless conquerors or monuments to greed. But had they not shunned polytheism and adhered to their exclusive and unadulterated devotion to God, they would certainly neither have had the honour of becoming the source of light and guidance to others nor of assuming the leadership of the pious and the God-fearing.