When two parties among you were about to lose courage, but Allah was their ally; and upon Allah the believers should rely.
The Saheeh International Quran Translation
إِذْ هَمَّت طَّآئِفَتَانِ مِنكُمْ أَن تَفْشَلَا وَٱللَّهُ وَلِيُّهُمَا وَعَلَى ٱللَّهِ فَلْيَتَوَكَّلِ ٱلْمُؤْمِنُونَWhen two parties among you were about to lose courage, but Allah was their ally; and upon Allah the believers should rely.