The Gibeonite Deception

In my daily reading of the Bible I read just now Joshua 9:14 where it says:

“The men of Israel sampled their provisions, but did not inquire of the Lord.”

Are we not doing the same at times. We are doing everything else , instead of coming inĀ  prayer before the Lord.