So at that time the Israelites were defeated, and the people of Judah won. The army from Judah won because they depended on the Lord, the God of their ancestors.