Al-Baqarah 2:64
ثُمَّ تَوَلَّيْتُم مِّنۢ بَعْدِ ذَٰلِكَ ۖ فَلَوْلَا فَضْلُ ٱللَّهِ عَلَيْكُمْ وَرَحْمَتُهُۥ لَكُنتُم مِّنَ ٱلْخَـٰسِرِينَ
Thumma tawallaytum min baAAdi thalikafalawla fadlu Allahi AAalaykum warahmatuhulakuntum mina alkhasireen
Then you turned away after that. And if not for the favor of Allāh upon you and His mercy, you would have been among the losers.
Then even after that, you turned away. So, had it not been for the grace of Allah upon you, and His mercy, you would have been among the losers.