Joshua refused to ask for insignificant things. He asked for an unreasonable and impossible prayer and the Lord granted it. For with God, all things are possible.
Then Joshua spoke to the Lord in the day when the Lord delivered up the Amorites before the children of Israel, and he said in the sight of Israel: “SUN, STAND STILL over Gibeon; And Moon, in the Valley of Aijalon. So the sun stood still, and the moon stopped, till the people had revenge upon the enemies.’ (Joshua 10:12-13)