 Every man did that which is right in his own eyes. Now God said, I'm going to judge you because I said not to make any league with the Canaanites. They did make league with the Canaanites. Go back to chapter 1. And look, if you will, in verse 19. And the Lord was with Judah, and he drave out the inhabitants of the mountain, but could not drive out the inhabitants of the valley, because they had chariots of iron."