There are many verses which show that victory belongs to Allaah, not to us. We didn’t earn it, but it is a gift from Alaah.
“You killed them not, but Allah killed them. And you (Muhammad ) threw not when you did throw but Allah threw, that He might test the believers by a fair trial from Him. Verily, Allah is All-Hearer, All-Knower.” [8:17]
“And remember when you were few and were reckoned weak in the land, and were afraid that men might kidnap you, but He provided a safe place for you, strengthened you with His Help, and provided you with good things so that you might be grateful.” [8:26\
“There is no victory except from Allaah, The Exalted The Wise.” [3:126 & 8:40]
Victory s never attributed in the Quran to the Believers, it is always known as a blessing from Allaah.