Surah Ghafir, ayah 83

40:83

فَلَمَّا جَآءَتۡهُمۡ رُسُلُهُم بِٱلۡبَيِّنَٰتِ فَرِحُواْ بِمَا عِندَهُم مِّنَ ٱلۡعِلۡمِ وَحَاقَ بِهِم مَّا كَانُواْ بِهِۦ يَسۡتَهۡزِءُونَ ٨٣

Falammā jā'athum rusuluhum bil-bayyināti farihū bimā 'indahum minal-'ilmi wahāqa bihim mā kānū bihī yastahzi'ūn

And when their messengers came to them with clear proofs, they [merely] rejoiced in what they had of knowledge, but they were enveloped by what they used to ridicule.