فَأَصَابَهُمْ سَيِّـَٔاتُ مَا عَمِلُوا۟ وَحَاقَ بِهِم مَّا كَانُوا۟ بِهِۦ يَسْتَهْزِءُونَ
Fa asaabahum saiyi aatu maa 'amiloo wa haaqa bihim maa kaano bihee yastahzi'oon
So the evil they had done hit them and they were surrounded by the very thing they had mocked.
So the evils of what they had done struck them, and the very thing they used to mock closed in around them.