As if they had never prospered therein. Then, away with Madyan as Thamud was taken away.
The Saheeh International Quran Translation
كَأَن لَّمْ يَغْنَوْا۟ فِيهَآ أَلَا بُعْدًا لِّمَدْيَنَ كَمَا بَعِدَتْ ثَمُودُAs if they had never prospered therein. Then, away with Madyan as Thamud was taken away.