Judges 3 4
They were left there be to a test for the Israelites, to find out whether the Israelites would keep the Lord's commandments which he had given their forefathers through Moses.
Compare with other 3 random translations
NCV Judges 3:4Those nations were in the land to test the Israelites—to see if they would obey the commands the Lord had given to their ancestors by Moses.
AMP Judges 3:4They were for the testing and proving of Israel to know whether Israel would listen and obey the commandments of the Lord, which He commanded their fathers by Moses.
NIV Judges 3: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.