Judges 2:22
22 in order oto test Israel by them, whether they will take care to walk in the way of the Lord as their fathers did, or not.”
Judges 3:4
4 They were for rthe testing of Israel, to know whether Israel would obey the commandments of the Lord, which he commanded their fathers by the hand of Moses.