Convince your Followers that Victory over the Non-believer is Allah's doing

I think the next two sentences refer to Yathrib
33.25
] And Allah turned back the unbelievers in their rage; they did not obtain any advantage, and Allah sufficed the believers in fighting; and Allah is Strong, Mighty.
[33.26] And He drove down those of the followers of the Book who backed them from their fortresses and He cast awe into their hearts; some you killed and you took captive another part.