I remember watching the following Star Trek Next Gen episode and wondering about whether God actually might do something similar:
The USS Enterprise-D is called to Bre'el IV to help them with their moon that is falling out of orbit and threatening the planet. As they are trying to find a way to get the moon back into its orbit, Q suddenly drops in, literally, and Picard jumps to the conclusion that Q is responsible for what is happening to the Bre'el.
In the episode, Q (stripped of his powers) suggests altering the gravitational constant of the universe, thereby altering the moon's mass. Of course, Enterprise can't do that, but they end up trying to wrap the moon in a warp field and push it. Late in the episode, a restored Q solves the problem in some undisclosed manner.
Of course, TV is one thing, reality another. But is God so powerful that he could solve the Joshua problem at the snap of a finger? I have my doubts, but if there is a God...