the nation asks God who will lead in battle, God tells them Judah, they obey, success . Then in v27 a catalogue of failures, Manasseh, Ephraim, Zebulon, Asher, Naphtali, Dan didn’t drive out the nations completely, look at . Failure to utterly destroy the nations led to Israel living among them and adopting their practices, their god.