These nations were left as a means by which Yahweh would test Israel, to confirm whether they would obey the commands he gave their ancestors through Moses.