The third person that Allah praises over the angels is as follows...
The third person that Allah praises over the angels is as follows: “And [Allah boasts on account of] a man in the battlefield who is deserted by his companions but remains steadfast in fighting until he is killed.” Allah, the Exalted, boasts on account of the fighting champion who stands alone on the battlefield contending with the enemy until the last breath of his life after his companions have fled the battleground in defeat because they lacked the power of resistance.
Although he could have taken flight like the rest of his friends and saved his own life, he preferred to be martyred in the way of Allah, the Exalted. Yes, Allah boasts on account of a man who stands up against a multitude of enemies and resists regardless of the fact that in such circumstances resistance is not incumbent.
During the early days of Islam, it was initially incumbent for one Muslim to resist against ten people and later on a concession was offered and it became obligatory for one Muslim to resist two people, but if everyone took flight and no one remained on the battleground, it was no longer binding for that one fighter to remain.
There is not the least doubt that fleeing from the battlefield while it was possible to resist the enemy is a great sin and the Glorious Qur’an explicitly forbids running away from war. This action is hated by Allah and the abode of a deserter from the battlefield is believed to be the infernal fire: يَا أَيُّهَا الَّذِينَ آمَنُوا إِذَا لَقِيتُمُ الَّذِينَ كَفَرُوا زَحْفاً فَلاَ تُوَلُّو