In the leadership of God there is nothing that cannot be done. Problems arise when we choose not to be obedient to the righteous ways of God. Early on in scripture we can learn how Israel would possess the promised land by being obedient and keeping of the commandments (Deuteronomy 4:1-7). Now therefore hearken, O Israel, unto the statutes and unto the judgments, which I teach you, for to do them, that ye may live, and go in and possess the land which the Lord God of your fathers giveth you. Ye shall not add unto the word which I command you, neither shall ye diminish ought from it, that ye may keep the commandments of the Lord your God which I command you. Your eyes have seen what the Lord did because of Baalpeor: for all the men that followed Baalpeor, the Lord thy God hath destroyed them from among you. But ye that did cleave unto the Lord your God are alive every one of you this day. Behold, I have taught you statutes and judgments, even as the Lord my God commanded me, that ye should do so in the land whither ye go to possess it. Keep therefore and do them; for this is your wisdom and your understanding in the sight of the nations, which shall hear all these statutes, and say, Surely this great nation is a wise and understanding people. For what nation is there so great, who hath God so nigh unto them, as the Lord our God is in all things that we call upon him for?
We also see what the cost of being disobedient is when of all people Moses whom the Lord had worked many miracles by and the parting of the Red Sea that allowed the Israelites to cross as their enemies perished! Moses was instructed to strike the rock with a rod when the people complained there was no water which he did fine the first time, but when asked to do it a second time Moses chose to speak as God and it was this disobedience that caused him not to be able to cross over into the promised land (Numbers 20:7-12). And the Lord spake unto Moses, saying, Take the rod, and gather thou the assembly together, thou, and Aaron thy brother, and speak ye unto the rock before their eyes; and it shall give forth his water, and thou shalt bring forth to them water out of the rock: so thou shalt give the congregation and their beasts drink. And Moses took the rod from before the Lord, as he commanded him. And Moses and Aaron gathered the congregation together before the rock, and he said unto them, Hear now, ye rebels; must we fetch you water out of this rock? And Moses lifted up his hand, and with his rod he smote the rock twice: and the water came out abundantly, and the congregation drank, and their beasts also. 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.