The Best among the Children of Israel ask to see Allah; their subsequent Death and Resurrection
Allah said, `Remember My favor on you for resurrecting you after you were seized with lightning when you asked to see Me directly, which neither you nor anyone else can bear or attain.' This was said by Ibn Jurayj. Ibn `Abbas said that the Ayah
(And (remember) when you said: "O Musa ! We shall never believe in you until we see Allah plainly.") means, "Publicly", "So that we gaze at Allah." Also, `Urwah bin Ruwaym said that Allah's statement,
وَأَنتُمْ تَنظُرُونَ
(While you were looking) means, "Some of them were struck with lightning while others were watching." Allah resurrected those, and struck the others with lightning. As-Suddi commented on,
This verse refers to death, which suggests that the thunderbolt had killed them. Since the Israelites had always been mistrusting Sayyidna Musa (علیہ السلام) ، he feared that they would suspect him of having taken the men to a solitary place and got them slaughtered. So, he prayed to Allah to save him from such a vile accusation. Allah granted his prayer, and gave those a new life.
Tazkirul Quran
Maulana Wahiduddin KhanOn ayahs 52–56
The Israelites were chosen by God. He selected them for a special task: they were to receive God’s scriptures and pass His commandments on to the rest of mankind. In relation to this office, they were granted many other blessings and facilities: victory over their enemies, forgiveness of their sins, special help in times of peril, divine provision for their physical needs, and so on. This misled later generations of Jews into thinking that they were God’s chosen people, and were assured of salvation in the next world. But such matters as salvation are not a hereditary right of any group. Successive generations are to be judged on their own merits. On the Day of Judgement people will be judged individually, according to their actions. To think that anything other than good deeds will avail one, is to underestimate the rigours of that Day.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.