Judges 3:1

3:1 These were the nations the Lord permitted to remain so he could use them to test Israel – he wanted to test all those who had not experienced battle against the Canaanites.

Judges 3:4

3:4 They were left to test Israel, so the Lord would know if his people would obey the commands he gave their ancestors through Moses.