Two troops of yours (the one of Banu Salmah & Banu Harithah) were about to show cowardice (when Abdulllah bin Ubayy, the hypocrite, and his troop left the battlefield) not believing that God is present to help them. [This was a lesson so that] The believers should always put their trust in God [even though the odds seems against them.]