Aal-i-Imraan • EN-TAFSIR-IBN-ABBAS
﴿ إِذْ هَمَّت طَّآئِفَتَانِ مِنكُمْ أَن تَفْشَلَا وَٱللَّهُ وَلِيُّهُمَا ۗ وَعَلَى ٱللَّهِ فَلْيَتَوَكَّلِ ٱلْمُؤْمِنُونَ ﴾
“when two groups from among you were about to lose heart, although God was near unto them and it is in God that the believers must place their trust:”
(When two parties of you almost) two tribes of believers, the Banu Salamah and Banu Harithah, hid the fact that they almost (fell away) shrank away from fighting against the enemy on the Day of Uhud, (and Allah was their Protecting Friend) He preserved them and prevented them from doing so. (In Allah do believers put their trust) the believers ought to put their trust in Allah when it comes to help and conquest.