Do you erect on every height a sign having no sound purpose, [ 128] and take the objects of architecture as if you are going to live forever, (26:128-129)
Ibn Jarir (رح) has related from Mujahid (رح) that the passage between two hills is called Ri (ریع). But Sayyidna Ibn ` Abbas ؓ and majority have taken the meaning of Ri (ریع) as a high place, and its derivative is ri`-un-na bat' (ریع البنات), which means growing and climbing vegetation. Literal meaning of 'Ayah (آیۃ) is symbol or sign, but here it means a high palace. تَعْبَثُونَ is derived from ` abath (عَبَث), which is something of no value and benefit neither in reality nor by implication. So, the meaning of the verse is that they used to make very high palaces of no benefit and which they did not need. It was just to fulfill their ego and pride. masani' (مَصَانِع) is the plural of Masna` (مَصنَع). Sayyidna Qatadah has taken masani' (مَصَانِع) for the water tank, whereas Hadrat Mujahid (رح) take it to mean strong palace.
The false self-confidence of the ‘Ad community prevented them from accepting the preaching of their prophet and they went to the extent of ridiculing it. They took their prosperity in the world as God’s reward. They failed to understand the secret that man is given worldly effects by way of trial and not because he deserves them. When it was finally established that they were not going to accept the Truth, God had them lashed by stormy winds and heavy rains, which continued to wreak havoc for a week. The result was that the entire nation with its grand culture was destroyed. Now, the only sign of this nation, whose land had once been fertile and well populated is the desert which stretches far and wide between the present-day Oman and Yemen.
Uthmani text of the Madinah mushaf (King Fahd Complex). Translation: Saheeh International. Tafsir via Quran.com.