But the LORD said to Joshua, “Stand up! Why have you fallen on your face?
10. And the Lord said unto Joshua, etc God does not reprimand Joshua absolutely for lying prostrate on the ground and lamenting the overthrow of the people, since the true method of obtaining pardon from God was to fall down suppliantly before him; but for giving himself up to excessive sorrow.
We have here God's answer to Joshua's address, which, we may suppose, came from the oracle over the ark, before which Joshua had prostrated himself, v. 6. Those that desire to know the will of God must attend with their desires upon the lively oracles, and wait at wisdom's gates for wisdom's dictates, Pro 8:34.
Commenting on Joshua 7:10-15
And the Lord said unto Joshua, get thee up,.... From the ground where he lay prostrate, with his face to it: this he said, not as refusing his supplication to him, but rather as encouraging and strengthening him; though chiefly he said this in order to instruct him, and that he might prepare for what he was to do: wherefore liest thou thus upon thy face?