Never take for granted that God will answer your prayers for a miracle in the same way every time.
Sometimes He may want to see if you are listening to Him by asking you to do something first.
Moses took for granted that when the Children of Israel wanted water, he was to strike the rock. When God told him to speak to the rock, and Moses struck it instead, it cost him the reward of ever seeing the promised land.