It had already been attacked and was full of international guests. In the capital city. 4-5 guys should not be able to take complete control of the hotel with no heavy weaponry. That means security is deficient or non-existent.
You don't necessarily need to meet them head-on & emerge victorious, just delay them long enough for backup to arrive and/or deter them, again by showing that you will delay them.
https://ewn.co.za/2018/01/23/afghan-hotel-attack-stirs-fresh...
"KABUL - A bloody Taliban raid on a high-end hotel guarded by a private company in the Afghan capital ...
[...]
“There were 15 guards on duty at time of the attack and none of them engaged the attackers,”