In the city of Bezek, they found the ruler of Bezek and fought him, and they defeated the Canaanites and the Perizzites.