18:97

فَمَا اسْطَاعُوا أَن يَظْهَرُوهُ وَمَا اسْتَطَاعُوا لَهُ نَقْبًا

Transliteration:

Fama istaAAoo an yathharoohu wama istataAAoo lahu naqban

Word by Word:

So not they were able to scale it and not they were able in it (to do) any penetration.

Translations:

And thus [the rampart was built, and] their enemies were unable to scale it, and neither were they able to pierce it.

Thus were they made powerless to scale it or to dig through it.

And (Gog and Magog) were not able to surmount, nor could they pierce (it).

So they were not able to scale it, nor could they make a hole in it.

So Gog and Magog were unable to pass over it, nor were they able [to effect] in it any penetration.