When Nicanor learned that Judas and his companions were in the territory of Samaria, he decided he could attack them in complete safety on the day of rest.