That day the Israelites were defeated; the men of Judah prevailed because they relied on the Lord God of their ancestors.