Judges 2:23

23 Therefore the LORD left those nations, without driving them out hastily; neither delivered he them into the hand of Joshua.