Judges 3:1-4

YLT(i) 1 And these are the nations which Jehovah left, to try Israel by them, all who have not known all the wars of Canaan; 2 (only for the sake of the generations of the sons of Israel's knowing, to teach them war, only those who formerly have not known them) — 3 five princes of the Philistines, and all the Canaanite, and the Zidonian, and the Hivite inhabiting mount Lebanon, from mount Baal-Hermon unto the entering in of Hamath; 4 and they are to prove Israel by them, to know whether they obey the commands of Jehovah that He commanded their fathers by the hand of Moses.