Judges 3:1-7

1 Now these are the nations which the LORD left, to test Israel by them, that is, all in Israel who had no experience of any war in Canaan;
2 it was only that the generations of the people of Israel might know war, that he might teach war to such at least as had not known it before.
3 These are the nations: the five lords of the Philistines, and all the Canaanites, and the Sido'nians, and the Hivites who dwelt on Mount Lebanon, from Mount Ba'al-her'mon as far as the entrance of Hamath.
4 They were for the testing of Israel, to know whether Israel would obey the commandments of the LORD, which he commanded their fathers by Moses.
5 So the people of Israel dwelt among the Canaanites, the Hittites, the Amorites, the Per'izzites, the Hivites, and the Jeb'usites;
6 and they took their daughters to themselves for wives, and their own daughters they gave to their sons; and they served their gods.
7 And the people of Israel did what was evil in the sight of the LORD, forgetting the LORD their God, and serving the Ba'als and the Ashe'roth.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.