It happened after the death of Joshua, the children of Israel asked of Yahweh, saying, "Who should go up for us first against the Canaanites, to fight against them?"
TSK
TSK · 1 Samuel 14:37
Treasury of Scripture Knowledge references in WEB.
and Phinehas, the son of Eleazar, the son of Aaron, stood before it in those days), saying, "Shall I yet again go out to battle against the children of Benjamin my brother, or shall I cease?" Yahweh said, "Go up; for tomorrow I will deliver him into your hand."
Therefore David inquired of Yahweh, saying, "Shall I go and strike these Philistines?" Yahweh said to David, "Go strike the Philistines, and save Keilah."
David knew that Saul was devising mischief against him; and he said to Abiathar the priest, "Bring the ephod here."
David said to Abiathar the priest, the son of Ahimelech, "Please bring me here the ephod." Abiathar brought the ephod to David.
David inquired of Yahweh, saying, "Shall I go up against the Philistines? Will you deliver them into my hand?" Yahweh said to David, "Go up; for I will certainly deliver the Philistines into your hand."
Jehoshaphat said to the king of Israel, "Please inquire first for the word of Yahweh."
Son of man, these men have taken their idols into their heart, and put the stumbling block of their iniquity before their face: should I be inquired of at all by them?