The existence of rules concerning war booty does not make the early Muslim community a band of robbers. It shows that, after armed conflict occurred, the Quran regulated property taken in war and placed it under public authority rather than private greed.
What the objection fairly observes
A critic may argue that the language of booty sounds like the language of raiding. The early Muslims had been persecuted in Mecca, then migrated to Medina, and later fought the Quraysh. References to captured property could therefore be read as evidence that the movement was driven by material gain rather than religious persecution. This objection deserves a direct answer, not a dismissal.
What Quran 8:45 actually says
Quran 8:45 is not a passage about booty at all. It addresses Muslims when they meet an enemy force in battle:
O believers, when you meet a force, stand firm and remember Allah often so that you may be successful.
Quran 8:45
The verse speaks about discipline, courage, and remembrance of God during an actual confrontation. The surrounding passage discusses the Battle of Badr, including the fact that the Muslims faced a military force rather than simply attacking unarmed travelers for personal profit.
Other verses do discuss spoils, but they do so as part of the law of armed conflict. Quran 8:1 states that the spoils belong to Allah and the Messenger, meaning that their distribution is governed by the community's legitimate authority, not left to whoever seizes the most. Quran 8:41 then assigns defined shares, including support for the poor and public causes. That is regulation and restriction, not a license for banditry.
Persecution, war, and the limits of the argument
The Quran presents the Meccan believers as having been wronged and expelled, and it permits fighting against those who fight them:
Permission to fight has been granted to those who are being fought, because they have been wronged. And surely Allah is capable of giving them victory.
Quran 22:39
It also sets a boundary: "Fight in the way of Allah those who fight you, but do not transgress. Surely Allah does not like the transgressors" (Quran 2:190). In this framework, war booty is a consequence of a lawful conflict, not its moral justification. The Prophet Muhammad (PBUH) prohibited treachery, killing noncombatants, and mutilation, and the Quran repeatedly condemns injustice.
What this establishes - and what it does not
These references establish that the early Muslim community took part in armed conflicts and that those conflicts produced captured property, which was legally administered. They do not by themselves prove that every military episode was defensive, nor do they prove that no individual ever had worldly motives. Human motives can be mixed. But neither does the mention of booty establish banditry. To make that case, one would need to show that the conflicts were fundamentally predatory and that the legal restrictions were merely a cover. The cited verse does not do that; in fact, its emphasis is on restraint, resolve, and accountability before God.