Surah At-Tawbah 9:4
إِلَّا ٱلَّذِينَ عَـٰهَدتُّم مِّنَ ٱلْمُشْرِكِينَ ثُمَّ لَمْ يَنقُصُوكُمْ شَيْـًٔا وَلَمْ يُظَـٰهِرُوا۟ عَلَيْكُمْ أَحَدًا فَأَتِمُّوٓا۟ إِلَيْهِمْ عَهْدَهُمْ إِلَىٰ مُدَّتِهِمْ ۚ إِنَّ ٱللَّهَ يُحِبُّ ٱلْمُتَّقِينَ
Excepted are those with whom you made a treaty among the polytheists and then they have not been deficient toward you in anything or supported anyone against you; so complete for them their treaty until their term [has ended]. Indeed, Allāh loves the righteous [who fear Him].
Translation: Saheeh International
Tafsir
Excepting those of the idolaters with whom you have made a pact and who have not diminished their commitment to you in anyway with regard to the terms of the pact nor supported assisted anyone from among the disbelievers against you; …
Excerpt from Tafsir al-Jalalayn, commentary on 9:4, via Quran.com. The reader has the full commentary and 9 more tafsirs.