Reference

Judges 3:4

And they were to prove Israel by them, to know whether they would hearken unto the commandments of the Lord, which he commanded their fathers by the hand of Moses.
2

Only that the generations of the children of Israel might know, to teach them war, at the least such as before knew nothing thereof;

3

Namely, five lords of the Philistines, and all the Canaanites, and the Sidonians, and the Hivites that dwelt in mount Lebanon, from mount Baal–hermon unto the entering in of Hamath.

4

And they were to prove Israel by them, to know whether they would hearken unto the commandments of the Lord, which he commanded their fathers by the hand of Moses.

5

And the children of Israel dwelt among the Canaanites, Hittites, and Amorites, and Perizzites, and Hivites, and Jebusites:

6

And they took their daughters to be their wives, and gave their daughters to their sons, and served their gods.