Sure Aal-i-Imraan

3:123

وَلَقَدْ نَصَرَكُمُ ٱللَّهُ بِبَدْرٍۢ وَأَنتُمْ أَذِلَّةٌۭ ۖ فَٱتَّقُوا۟ ٱللَّهَ لَعَلَّكُمْ تَشْكُرُونَ

Allah hat euch doch schon in Badr geholfen, als ihr verächtlich erschient. Darum fürchtet Allah, auf daß ihr dankbar sein möget!

Tafsir 3:123

Allah gave you victory over the idolaters in the Battle of Badr despite your small numbers and resources. Therefore, be Mindful so that you may be thankful for the blessings He has given you.