He sent spies to their camp. They returned and reported to him that the enemy was lining up in battle formation to attack the Jews at night.