These nations were left to test the Israelites, to find out whether they would keep the commandments of the LORD, which He had given their fathers through Moses.
Jewish Publication Society of America Version (JPS1917) - Judges 3:4 >And they were there, to prove Israel by them, to know whether they would hearken unto the commandments of the LORD, which He commanded their fathers by the hand of Moses.