So the king stayed beside the city gate, while all the army marched out by hundreds and by thousands.