Judges 18:5

5 Then they said to him, “Please inquire of God to learn whether our journey will be successful.”

Read Judges 18:5 Using Other Translations

And they said unto him, Ask counsel, we pray thee, of God, that we may know whether our way which we go shall be prosperous.
And they said to him, "Inquire of God, please, that we may know whether the journey on which we are setting out will succeed."
Then they said, “Ask God whether or not our journey will be successful.”

What does Judges 18:5 mean?

John Gill's Exposition of the Bible
Judges 18:5

And they said unto him, ask counsel, we pray thee, of God
They did not reprove him for assuming the priestly office, when they knew he was a Levite, such was the corruption of those times, and the great depravity and declensions they were fallen into; nor even for the idolatry he was guilty of, but encourage him in it, and thought they had got a fine opportunity, which they readily laid hold on, to have counsel asked for them of God, about the success of the errand they were sent about; to this they were led at sight of the ephod, which was like that in the tabernacle, and of the teraphim, images which, according to a notion that prevailed, when consulted, foretold future things; whether by God they meant the true God, who they thought would give an answer by these, or Micah's gods, is not certain; according to the Targum of Jonathan, they meant the true God, which paraphrases it,

``ask of the Word of the Lord:''

that we may know whether our way which we go shall be prosperous or no;
whether they should find out a proper place to dwell in, and be able to get possession of it.
California - Do Not Sell My Personal Information  California - CCPA Notice