The initial weeks after the exodus of the nation of Israel from Egypt were typified by a cycle of grumbling followed by a response from God that had elements of teaching and of provision. Over and over the people are asked to align themselves with God and look to Him for their needs. Jesus likely had the same goals in mind as He taught his disciples to pray in Matthew 6.
The writer of Hebrews reminds us the Jesus is the better Moses and the Church is the better nation of Israel (though we're still learning some of the same lessons!).
Study notes are here.