Al-Anfal 8:39
And fight against them until there is no fitnah[446] and [until] the religion [i.e., worship], all of it, is for Allāh.[447] And if they cease - then indeed, Allāh is Seeing of what they do.
Ayah 39
وَقَٰتِلُوهُمْ حَتَّىٰ لَا تَكُونَ فِتْنَةٌ وَيَكُونَ ٱلدِّينُ كُلُّهُۥ لِلَّهِ ۚ فَإِنِ ٱنتَهَوْا۟ فَإِنَّ ٱللَّهَ بِمَا يَعْمَلُونَ بَصِيرٌ
And fight against them until there is no fitnah[446] and [until] the religion [i.e., worship], all of it, is for Allāh.[447] And if they cease - then indeed, Allāh is Seeing of what they do.