So they were struck by the evil consequences of what they did and were enveloped by what they used to ridicule.
The Saheeh International Quran Translation
فَأَصَابَهُمْ سَيِّـَٔاتُ مَا عَمِلُوا۟ وَحَاقَ بِهِم مَّا كَانُوا۟ بِهِۦ يَسْتَهْزِءُونَSo they were struck by the evil consequences of what they did and were enveloped by what they used to ridicule.