Surah An-Nahl, ayah 93

16:93

وَلَوۡ شَآءَ ٱللَّهُ لَجَعَلَكُمۡ أُمَّةٗ وَٰحِدَةٗ وَلَٰكِن يُضِلُّ مَن يَشَآءُ وَيَهۡدِي مَن يَشَآءُۚ وَلَتُسۡـَٔلُنَّ عَمَّا كُنتُمۡ تَعۡمَلُونَ ٩٣

Walaw shā'allāhu laja'alakum ummatan wāhidatan walākin yudillu man yashā'u wayahdī man yashā'u walatus'alunna 'ammā kuntum ta'malūn

And if Allāh had willed, He could have made you [of] one religion, but He sends astray whom He wills and guides whom He wills.713 And you will surely be questioned about what you used to do.

Footnotes

713 According to His knowledge of each soul's preference.