This is because Allah never changes the Blessing he has bestowed on any people until they change what is with them. And verily, Allah is All-Hearing, All-Knowing.
(Their) state (the Quraish tribe that was fighting at Badr) is as the state of Pharaoh (his army) and those before them. They belied the Verses of their Lord. Therefore We destroyed them because of their sins. And We drowned the people (army) of Pharaoh. And they all became tyrants.
Surely the worst of animals (that walk) in Allah’s Sight are those who disbelieve. Then they will not believe.
They are those with whom you made a covenant, but they break their covenant every time. And they are not the owners of piety.
Therefore if you overtake them in the war, deal with them so as to strike fear in those who are behind them, that perhaps they may deliberate.
If you fear treachery (of covenant) on the part of a people, then throw back to them (cancel their covenant) on terms of equality. Surely Allah does not love the treacherous.
Let not those who disbelieve assume that they are safe. Assuredly, they cannot render (Allah) impotent.
And prepare against them what force you can and horses tethered (fed for war). Thereby you may dismay the enemy of Allah and your enemy, and others besides them. You do not know them but Allah knows them. Whatever thing you spend in the Way of Allah, it will be paid back to you fully and you shall not be wronged.
And if they incline to peace, then (you also) incline to it (accept their offer) and put your trust in Allah. Verily, He is the All-Hearing, the All-Knowing.