Note that in the battle…

Note that in the battle of Hunayn, yes the Prophet (ﷺ) miraculously destroyed armies of the Kuffar by throwing dirt in their faces, and yet later on these same people in this same battle entered Islam. Again showing that the objective is to bring people into Islam and to Allah, not to kill them (otherwise the practical implementation is to be suspicious of them and to ambush them or kill them when possible since such people are not “reliable” from this materialistic angle, plus great material booty can be acquired in the process).