Joshua 5:9-15 ESV
And the LORD said to Joshua, “Today I have rolled away the reproach of Egypt from you.” And so the name of that place is called Gilgal to this day.
While the people of Israel were encamped at Gilgal, they kept the Passover on the fourteenth day of the month in the evening on the plains of Jericho. And the day after the Passover, on that very day, they ate of the produce of the land, unleavened cakes and parched grain. And the manna ceased the day after they ate of the produce of the land. And there was no longer manna for the people of Israel, but they ate of the fruit of the land of Canaan that year.
When Joshua was by Jericho, he lifted up his eyes and looked, and behold, a man was standing before him with his drawn sword in his hand. And Joshua went to him and said to him, “Are you for us, or for our adversaries?” And he said, “No; but I am the commander of the army of the LORD. Now I have come.” And Joshua fell on his face to the earth and worshiped and said to him, “What does my lord say to his servant?” And the commander of the LORD’s army said to Joshua, “Take off your sandals from your feet, for the place where you are standing is holy.” And Joshua did so.
ESV: English Standard Version 2016