The men sampled their provisions, and didn't ask counsel from the mouth of Yahweh.
1 Chronicles 15:13
For because you didn't carry it at first, Yahweh our God made broke out against us, because we didn't seek him according to the ordinance."
1 Chronicles 21:30
But David couldn't go before it to inquire of God; for he was afraid because of the sword of the angel of Yahweh.
Behold, he snatches away. Who can hinder him? Who will ask him, 'What are you doing?'
Son of man, speak to the elders of Israel, and tell them, Thus says the Lord Yahweh: Is it to inquire of me that you have come? As I live, says the Lord Yahweh, I will not be inquired of by you.
and when you offer your gifts, when you make your sons to pass through the fire, do you pollute yourselves with all your idols to this day? and shall I be inquired of by you, house of Israel? As I live, says the Lord Yahweh, I will not be inquired of by you;
those who have turned back from following Yahweh, and those who haven't sought Yahweh nor inquired after him.