The Ammonites marched out and lined up in battle formation at the entrance of the city while the kings who had come were in the field by themselves.