Judges 2:22

so that through them I may test Israel, whether they will keep the ways of the LORD, to walk in them as their fathers kept them, or not."

Surrounding context

2:21 I also will no longer drive out before them any of the nations which Joshua left when he died,

2:22 so that through them I may test Israel, whether they will keep the ways of the LORD, to walk in them as their fathers kept them, or not."

2:23 Therefore the LORD left those nations, without driving them out immediately; nor did He deliver them into the hand of Joshua.

Translation and sources