So the punishments that came upon them were due to the acts that they had perpetrated, and the same (chastisement) they used to make fun of engulfed them
So they were struck by the outcome of what they did and they were enveloped by the thing they ridiculed.
Sayyed Abbas Sadr-Ameli
So the evil (consequences) of what they did afflicted them and that which they used to ridicule encompassed them.
Al-muntakhab fi tafsir al-Qur'an al-Karim
By consequence, did the evil line of conduct to which they committed themselves and the evil deeds they conferred on themselves spring back and recoil on them, and they were beset on all sides by the same material and immaterial things they had turned in to ridicule
So the evil (consequences) of what they did afflicted them and that which they used to mock at, surrounded them. vil (consequences) of what they did afflicted them and that which they used to mock at, surrounded them.