This seems like nothing but a testament to the magic of prayer; but God is not merely a grantor of wishes. When tempted by the devil himself, even Christ himself did not call on His Father for favor.
Perhaps it's not reasonable to ask God to break the laws of physics every time we fall by the wayside, or make a serious error; perhaps you could ask instead what you have to do right now to increase your resolve, buttress your character, and find the strength to go on. Perhaps you can ask instead to see the truth.
People suffer because they think their lives are meaningless. People always ask for a meaningful life; but perhaps there is a price to be paid for abandoning meaninglessness.