Judges 3:4

NIV
New International Version

4They were left to test the Israelites to see whether they would obey the Lord’s commands, which he had given their ancestors through Moses.