Surah An-Nahl

16:93

وَلَوْ شَآءَ ٱللَّهُ لَجَعَلَكُمْ أُمَّةًۭ وَٰحِدَةًۭ وَلَٰكِن يُضِلُّ مَن يَشَآءُ وَيَهْدِى مَن يَشَآءُ ۚ وَلَتُسْـَٔلُنَّ عَمَّا كُنتُمْ تَعْمَلُونَ

And if Allah had willed, He could have made you [of] one religion, but He causes to stray whom He wills and guides whom He wills. And you will surely be questioned about what you used to do.

Tafsir 16:93

Had Allah willed, He would have made you one nation in agreement on the truth, but He, may He be glorified, misguides whom He wills from the truth and from fulfilling their oaths by His justice, and He guides whom He wills to do so by His grace. You will surely be questioned on the Day of Judgement about what you used to do in the world.