We divided them into twelve tribes or nations. We directed Moses by inspiration, when his (thirsty) people asked him for water: “Strike the rock with thy staff”: out of it there gushed forth twelve springs: Each group knew its own place for water. We gave them the shade of clouds, and sent down to them manna and quails, (saying): “Eat of the good things We have provided for you”: (but they rebelled); to Us they did no harm, but they harmed their own souls. (verse 60)
And remember it was said to them: “Dwell in this town and eat therein as ye wish, but say the word of humility and enter the gate in a posture of humility: We shall forgive you your faults; We shall increase (the portion of) those who do good.” (verse 61)
But the transgressors among them changed the word from that which had been given them so we sent on them a plague from heaven. For that they repeatedly transgressed. (verse 62)
The above verses have enumerated various favours that Allah
bestowed upon the Israelites, and spoke of their deviation from the
commands of Allah resulting in a heavenly punishment for their transgression. The translation of the verses given above is self explanatory
and the relevant details have already been given in Surah Al-Baqarah.