وَكَانُوا۟ يَنْحِتُونَ مِنَ ٱلْجِبَالِ بُيُوتًا ءَامِنِينَ
Wak a noo yan h itoona mina aljib a li buyootan a mineen a notwithstanding that they had been wont [to enjoy Our blessings and] to hew out dwellings from the mountains, [wherein they could live] in security59 -:
 - Mohammad Asad
They hewed their homes in the mountains for safety.
 - Muhammad Farooq-i-Azam Malik
They carved their homes in the mountains, feeling secure.
 - Mustafa Khattab
And they used to hew out dwellings from the hills, (wherein they dwelt) secure.
 - Marmaduke Pickthall
Out of the mountains did they hew (their) edifices (feeling themselves) secure. 2003
 - Abdullah Yusuf Ali