The children of Israel asked of Yahweh (for the ark of the covenant of God was there in those days,
With each successive defeat the Israelites became more concerned about getting God’s guidance. They had previously just asked Him to bless their plans with success.