(Have you not observed the hypocrites who say to their friends among the People of the Scripture who disbelieve: "If you are expelled, we indeed will go out with you, and we shall never obey anyone against you; and if you are attacked, we shall indeed help you.") Allah then said,
كَمَثَلِ الشَّيْطَانِ إِذْ قَالَ لِلْإِنسَانِ اكْفُرْ (The example [ of the hypocrites ] is like the Shaitan when he says to a human being, "Become a disbeliever" then once he disbelieves, he says, "I disown you; I fear Allah, the Lord of the worlds."....59:16) This is another example of the hypocrites who made false promises of solidarity and support to the Banu Nadir, and provoked the latter to fight against the Messenger of Allah ﷺ . But when the Muslims besieged them, not a single hypocrite came forward to assist. The Qur'an here uses a simile to illustrate the similarity between a hypocrite and the Shaitan. The Shaitan incited man to disbelieve and promised him the world, but when he was seriously involved in disbelief, he said that he has nothing to do with him. Only Allah knows how many such episodes the devil must have been involved in, textually, however, we find one such episode narrated in the Qur'an in Surah Anfal, verse [ 48]:
The hypocrites of Madinah who instigated the Banu al-Nadir against the Muslims had evidently learnt nothing from the total defeat of the Quraysh and Banu Qaynuqa‘ tribes who shortly before that had risen against the Muslims. This is always the case with those who take Satan’s counsel. First of all they urge people to indulge in criminal actions. Thereafter, when the terrible results of this become evident, they attempt to absolve themselves of the responsibility by making all sorts of excuses. But these efforts cannot save such people from the grip of God.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.