Surah At-Tawbah 9:96
يَحْلِفُونَ لَكُمْ لِتَرْضَوْا۟ عَنْهُمْ ۖ فَإِن تَرْضَوْا۟ عَنْهُمْ فَإِنَّ ٱللَّهَ لَا يَرْضَىٰ عَنِ ٱلْقَوْمِ ٱلْفَـٰسِقِينَ
They swear to you so that you might be satisfied with them. But if you should be satisfied with them - indeed, Allāh is not satisfied with a defiantly disobedient people.
Translation: Saheeh International
Tafsir
They will swear to you that you may be satisfied with them; but if you are satisfied with them God will surely not be satisfied with the wicked folk that is with them your satisfaction is of no avail in the face of the wrath of God.
Excerpt from Tafsir al-Jalalayn, commentary on 9:96, via Quran.com. The reader has the full commentary and 9 more tafsirs.