Joshua 5:12
And the manna ceased on the morrow after they had eaten of the old corn of the land; neither had the children of Israel manna any more; but they did eat of the fruit of the land of Canaan that year. And the manna ceased on the morrow after they had eaten of the old corn of the land; neither had the children of Israel manna any more; but they did eat of the fruit of the land of Canaan that year.
The ceasing of the manna belongs to Israel's restored covenant standing at Gilgal after the miraculous passage of the Jordan. There the reproach of Egypt was removed, the people were circumcised in recognition of God's covenant, the Passover was observed, and the Captain of the Lord's host appeared. All this stood immediately before the taking of Jericho, with its command prohibiting its spoils and its overthrow.
The Passover was kept on the plains of Jericho on the fourteenth day of the month at evening. On the next day the people ate unleavened cakes and parched corn made from the old corn of the land.
After eating at Gilgal that year of the old corn and fruit of Canaan, the manna ceased on the morrow. It was never given to Israel again, but they ate of the fruit of the land of Canaan instead.
The reason was that Israel was about to possess Canaan and could be supplied by its produce, so the provision suited to the wilderness was no longer needed. Its ending marked the close of the long years of desert wandering, with their feet at last treading the promised land. Those experiences before Jericho were given as lessons continuing the principles taught during the forty years.