Overall meaning :
Allah commands His Messenger, may Allah bless him and grant him peace, to inform the unbelievers that they will be vanquished by the believers in this worldly life and that they will all be gathered together on the Day of Resurrection to the fire of Hell, which will be the bed they have made for themselves—an evil bed indeed to lie on and the worst resting-place!
The Almighty then states: There has already been a clear sign and proof for you that victory will be on the side of the believers and that Allah will certainly make his religion triumphant and support His Messenger. This sign is represented in two armies that encountered each other at the Battle of Badr: One was the army of the believers fighting for the cause of Allah—that of the Prophet, may Allah bless him and grant him peace, and the Muslims with him—and the other was the army of the unbelievers—the Quraysh idolaters. Muslims saw with their very eyes that the unbelievers were double their number, so that they would depend on Allah and turn to Him for support. Allah strengthens with means of victory whomever He deems deserving of victory and support. Indeed, in the support Allah gave the army of believers despite their small number is surely a lesson for those endowed with insight and understanding that helps them discern the wisdom behind Allah’s laws and actions.