The Holy Quran 6:107 — Surah Al-An'am
Arabic text
وَلَوْ شَآءَ ٱللَّهُ مَآ أَشْرَكُوا۟ ۗ وَمَا جَعَلْنَـٰكَ عَلَيْهِمْ حَفِيظًا ۖ وَمَآ أَنتَ عَلَيْهِم بِوَكِيلٍ
Translation
If Allaah had willed, they (the Mushrikeen) would not have ascribed partners (to Allaah). (However, their persistent Shirk should not grieve you, O Muhammad ﷺ because) We have not made you a watcher (guard) over them and you are not responsible for them (your only responsibility is to convey the message of Islaam to them).
Tafsir (excerpt) — Tafsir Usmani
That is, the wisdom of Almighty Allah in the ordering of creation did not require that He make the whole world believers by force. Certainly, had He willed, He would not have left a single mushrik (idolater) on the face of the earth.
Preview. The full text opens with JavaScript enabled.