But Nicanor, hearing that Judas and his company were in the region of Samaria, resolved to attack them with complete safety on the day of rest.