Ghafir 40:83
فَلَمَّا جَآءَتْهُمْ رُسُلُهُم بِٱلْبَيِّنَـٰتِ فَرِحُوا۟ بِمَا عِندَهُم مِّنَ ٱلْعِلْمِ وَحَاقَ بِهِم مَّا كَانُوا۟ بِهِۦ يَسْتَهْزِءُونَ
Falamma jaat-hum rusuluhum bilbayyinatifarihoo bima AAindahum mina alAAilmi wahaqabihim ma kanoo bihi yastahzi-oon
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.
When their messengers came to them with manifest signs, they exulted because of whatever knowledge they had, and they were encircled by what they used to ridicule.