It happened, when Joshua was by Jericho, that he lifted up his eyes and looked, and, behold, there stood a man over against him with his sword drawn in his hand: and Joshua went to him, and said to him, Are you for us, or for our adversaries?
With the completion of the circumcision, the people could celebrate the Passover (something that an uncircumcised person was not allowed to do; see Exodus 12:47-49). The journey from Egypt to Canaan was now officially over, and therefore the miraculous daily supply of manna ceased (10-12; cf. Exodus 16:35).