After the miraculous victory of the Israelites over Pharaoh and his people, and having a life of ease and comfort, they started to show the signs of ignorance as people of wealth show when given a life of luxury and opulence. The first impertinent request they made was to the prophet Musa (علیہ السلام) to make for them a god like the gods of the people they saw being worshipped on their way. They (the Israelites) said, يَا مُوسَى اجْعَل لَّنَا إِلَـٰهًا كَمَا لَهُمْ آلِهَةٌ "0 Musa make a god for us like their gods." He said, قَالَ إِنَّكُمْ قَوْمٌ تَجْهَلُونَ "You are really an ignorant people." The prophet Musa (علیہ السلام) was greatly annoyed by their ignorance and said that the labour of worship of those people was to go waste. How could he think of making for them a god other than Allah while he had given to them excellence over the people of all the worlds. That is, the people who believed in the prophet Musa (علیہ السلام) were superior to all the people of that age.
The next verses remind them of their pitiable condition and their persecutions at the hands of Pharaoh when their sons were killed and their daughters were saved to serve them as their maid-servants. Allah relieved them of this disgraceful chastisement through His prophet. Shall they be as ungrateful to their Lord as to take the abject stones as gods and make them partners with Allah? They must repent to Allah for their transgression.
Allah mentions the words that the ignorant ones among the Children of Israel uttered to Musa after they crossed the sea and witnessed Allah's Ayat and great power.
(And they came upon a people devoted to some of their idols (in worship).) Some scholars of Tafsir said that the people mentioned here were from Canaan, or from the tribe of Lakhm. Ibn Jarir commented, "They were worshipping idols that they made in the shape of cows, and this influenced the Children of Israel later when they worshipped the calf. They said here,
("O Musa! Make for us a god as they have gods." He said: "Verily, you are an ignorant people.") Musa replied, you are ignorant of Allah's greatness and majesty and His purity from any partners or anything resembling Him.
("Verily, these people will be destroyed for that which they are engaged in) they will perish,
("and all that they are doing is in vain.") Commenting on this Ayah, Imam Abu Ja`far bin Jarir reported from Abu Waqid Al-Laythi that they (the Companions) went out from Makkah with the Messenger of Allah for (the battle of) Hunayn. Abu Waqid said, "Some of the disbelievers had a lote tree whose vicinity they used to remain in, and upon which they would hang their weapons on. That tree was called `Dhat Al-Anwat'. So when we passed by a huge, green lote tree, we said, `O Messenger of Allah! Appoint for us a Dhat Al-Anwat as they have.' He said,
(by He in Whose Hand is my soul! You said just as what the people of Musa said to him:
( ("Make for us a god as they have gods." He said: "Verily, you are an ignorant people. Verily, these people will be destroyed for that which they are engaged in, and all that they are doing is in vain."))"