Al-A'raaf • BN-TAFSEER-IBN-E-KASEER
﴿ وَٱذْكُرُوٓا۟ إِذْ جَعَلَكُمْ خُلَفَآءَ مِنۢ بَعْدِ عَادٍۢ وَبَوَّأَكُمْ فِى ٱلْأَرْضِ تَتَّخِذُونَ مِن سُهُولِهَا قُصُورًۭا وَتَنْحِتُونَ ٱلْجِبَالَ بُيُوتًۭا ۖ فَٱذْكُرُوٓا۟ ءَالَآءَ ٱللَّهِ وَلَا تَعْثَوْا۟ فِى ٱلْأَرْضِ مُفْسِدِينَ ﴾
“"And remember how He made you heirs to [the tribe of] `Ad and settled you firmly on earth, so that you [are able to] build for yourselves castles on its plains and hew out mountains [to serve you] as dwellings: remember, then, God's blessings, and do not act wickedly on earth by spreading corruption."”
Please check ayah 7:78 for complete tafsir.