That was why God continued to perform signs and wonders for Israel, feed "heavenly bread" to them, even though they had been rescued out of Egypt. You can take a man out of Egypt, but taking Egypt out of a man is even more difficult. But the text says that although they ate the same spiritual food, and drank the same spiritual drink, as Joshua, they never benefited from it, never let the seed take root, never were born from above and with these people God was not pleased and their bones were scattered the wilderness.
Sure it was God who worked through Moses, because Christ said it was God who gave them heavenly bread, not Moses, but Moses himself had to first come out of Egypt, be disgusted with mammon, in order to be a blessing to the world, the Old Testament Gospel .
Hebrews 11
24By faith Moses, when he had grown up, refused to be called the son of Pharaoh’s daughter,
25choosing rather to endure ill-treatment with the people of God than to enjoy the passing pleasures of sin,
26considering the reproach of Christ greater riches than the treasures of Egypt; for he was looking to the reward.
(Reproach of Christ is the heavenly feeding, food from the Rock, but then, you already knew that, didn't you) .