Numbers 20:12 And the Lord spake unto Moses and Aaron, Because ye believed me not, to sanctify me in the eyes of the children of Israel, therefore ye shall not bring this congregation into the land which I have given them.
Moses was commanded to speak to the rock to bring forth water, but instead he hit the rock twice with his staff. This was regarded by God as unbelief and disobedience. Perhaps Moses was angry, or perhaps he thought this way had worked before so he would do it again. Whatever the reason, it was still Moses doing what he thought best, not what God said. The means is not a magic technique, but power is in the Word.
The Lord said that Moses dis not sanctify Him, which He defined as not believing. Believing God is setting Him apart and making Him Holy in our life. This is why we need to pray, “Hallowed be Thy name.” The Spirit helps us not to do “what seems right in our own eyes,” for “There is a way that seems right unto a man, but the end thereof are the ways of death.”
How does one sanctify the Lord, or hallow the Name? God answers: believe! Faith leads to obedience. How does one believe? Hearing the Gospel, the word of Christ! The Gospel is the power the Holy Spirit uses to create and grow faith. Then we ask the Lord to make His name holy among us, by believing His Word and living according to it. Blessing results.
Moses suffered the consequences of disbelief: he was not permitted to enter the Promised Land, because he did not sanctify the Lord, that is, believe Him.