Sure Al-Hadid

57:14

يُنَادُونَهُمْ أَلَمْ نَكُن مَّعَكُمْ ۖ قَالُوا۟ بَلَىٰ وَلَٰكِنَّكُمْ فَتَنتُمْ أَنفُسَكُمْ وَتَرَبَّصْتُمْ وَٱرْتَبْتُمْ وَغَرَّتْكُمُ ٱلْأَمَانِىُّ حَتَّىٰ جَآءَ أَمْرُ ٱللَّهِ وَغَرَّكُم بِٱللَّهِ ٱلْغَرُورُ

Sie rufen ihnen zu: "Waren wir nicht mit euch?" Sie werden sagen: "Ja doch, aber ihr habt euch selbst der Versuchung ausgesetzt, ihr habt abgewartet und gezweifelt, und die Wünsche haben euch getäuscht, bis Allahs Befehl kam. Und getäuscht hat euch hinsichtlich Allahs der Täuscher.

Tafsir 57:14

The hypocrites will call out to the believers, saying: “Were we not with you upon Islam and obedience?” The Muslims will reply: “No, you were with us, but you deceived your souls with hypocrisy and doomed them, and you anticipated that the believers are defeated so you can then announce your disbelief. You also doubted in the help of Allah coming for the believers and in the resurrection after death. False ambitions also deceived you, until death came to you whilst you were chasing them, and Satan also deceived you about Allah.”