The children of Israel arose, and went up to Bethel, and asked counsel of God; and they said, Who shall go up for us first to battle against the children of Benjamin? Yahweh said, Judah [shall go up] first.
and asked counsel of God; before Phinehas the high priest, according to the judgment of Urim and Thummim, Judges 20:28