Surah Al-Baqara

2:51

وَإِذْ وَٰعَدْنَا مُوسَىٰٓ أَرْبَعِينَ لَيْلَةًۭ ثُمَّ ٱتَّخَذْتُمُ ٱلْعِجْلَ مِنۢ بَعْدِهِۦ وَأَنتُمْ ظَٰلِمُونَ

Dan (kenangkanlah) ketika kami berjanji kepada Nabi Musa (untuk memberi Taurat kepadanya sesudah ia bersiap selama) empat puluh malam. Kemudian, setelah ia pergi, kamu menyembah (patung) anak lembu, dan kamu sebenarnya orang-orang yang zalim (terhadap diri sendiri).

Tafsir 2:51

Also, remember that the forty nights appointed to Moses were from the blessings of Allah, in which the revelation of the Torah, with its light and guidance, was completed. Yet you went and worshipped the calf during that period, which made you into wrongdoers.