General Context
Once the barrier was complete and that great work of iron, fire, qitr, and human strength was over, a short, decisive verse gave the result ﴿فَمَا ٱسۡطَٰعُوٓاْ أَن يَظۡهَرُوهُ وَمَا ٱسۡتَطَٰعُواْ لَهُۥ نَقۡبٗا﴾ (“So Gog and Magog were unable to pass over it, nor were they able [to effect] in it any penetration.”, Qur’an 18:97). The Qur’an seems to fold all the noise of construction into this quiet conclusion. The barrier had become too much for them. They could not get over it from above or break through it from below. It closed off both ways of getting past, by climbing it or piercing it, by getting over its top or making a way through its body.
A hastily built barrier might have been scaled, pierced, or found to have a weak point. This structure was secure in both height and hardness. The verse tells us that it kept them out and explains what this meant in practice. It prevented both climbing and breaking through. When the way over and the way in are both securely closed, corruption is driven back, even if Gog and Magog are behind it.
Al-Tabari said: “Of His words ﴿فَمَا اسْطاعُوا أنْ يَظْهَرُوهُ﴾ (“So Gog and Magog were unable to pass over it”, Qur’an 18:97), Allah, exalted is His mention, says that Gog and Magog were unable to get atop the structure Dhu al-Qarnayn had erected between them and the people on the near side. They could not get to the top and come down from it to the people. An example of this usage is zahara fulanun fawqa al-bayt, meaning that so-and-so got onto the roof. People also say zahara fulanun ʿala fulan, meaning that one person overcame and prevailed over another. ﴿وَما اسْتَطاعُوا لَهُ نَقْبا﴾ (“nor were they able [to effect] in it any penetration.”, Qur’an 18:97) means that they were unable to make a hole through it from below.” — Jamiʿ al-Bayan ʿan Taʾwil Ay al-Qur’an — Muhammad ibn Jarir al-Tabari.
Zuhur conveys getting above and overpowering. Naqb conveys piercing and slipping through. A good barrier holds back an open assault and a concealed incursion alike. This is one of the verse’s most consequential lessons. A community’s protection must reach both its surface and depths, where attacks are plain and corruption can seep in unnoticed.
Rhetorical Outpourings
The verse is evenly composed. It says ﴿فَمَا ٱسۡطَٰعُوٓاْ أَن يَظۡهَرُوهُ﴾ (“So Gog and Magog were unable to pass over it”, Qur’an 18:97) and then ﴿وَمَا ٱسۡتَطَٰعُواْ لَهُۥ نَقۡبٗا﴾ (“nor were they able [to effect] in it any penetration.”, Qur’an 18:97). There is a fine difference between ﴿ٱسۡطَٰعُوٓاْ﴾ (Qur’an 18:97) and ﴿ٱسۡتَطَٰعُواْ﴾ (Qur’an 18:97). The first is lighter, a letter having been dropped. The second has the fuller sound. Commentators have considered how each form suits its place. Getting onto the barrier may seem easier than piercing it, so the lighter form is used there. Piercing is harder because it takes work to overcome a body that is hard, thick, and firmly joined. The word is fuller and heavier.
Ibn Kathir said: “Since scaling it was easier than piercing it, He matched each with an expression suited to it ﴿فَمَا اسْطَاعُوا أَنْ يَظْهَرُوهُ وَمَا اسْتَطَاعُوا لَهُ نَقْباً﴾ (“So Gog and Magog were unable to pass over it, nor were they able [to effect] in it any penetration.”, Qur’an 18:97). This is evidence that they could make no opening through it, nor accomplish any part of that.” — Tafsir al-Qur’an al-ʿAzim — Ismaʿil ibn ʿUmar Ibn Kathir.
That is one of the subtleties of the Qur’an’s composition. Even the letters take part in conveying how difficult things are. The lighter action takes the lighter form and the heavier action the heavier form. It was impossible to climb the barrier because of its height and smoothness, and impossible to pierce it because of its hardness, its thickness, and the way its materials held together.
Al-Zamakhshari said: “﴿فما اسطاعوا﴾ (“So Gog and Magog were unable”, Qur’an 18:97) […] ﴿أن يظهروه﴾ (“to pass over it”, Qur’an 18:97) means to get on top of it. They had no way to climb it on account of its height and smoothness, nor any way to pierce it on account of its hardness and thickness.” — Al-Kashshaf ʿan Haqaʾiq Ghawamid al-Tanzil — Mahmud ibn ʿUmar al-Zamakhshari.
The barrier had two sets of qualities. Height and smoothness prevented climbing, and hardness and thickness prevented penetration. Dhu al-Qarnayn understood the nature of the threat and built accordingly. Height and smoothness answered danger from above, while hardness and thickness answered danger from within.
In ﴿يَظۡهَرُوهُ﴾ (“pass over it”, Qur’an 18:97) the Qur’an uses a word that carries more than “climb it.” Zuhur in Arabic can mean getting above something or prevailing over it. The person who zahara over something has got above it, and the person who zahara over a people has overcome them. The verse seems to say that they could neither get over it physically nor prevail over it by force. The barrier stood as a physical object and brought the power of those who worked corruption to an end.
Interpretive and Reflective Outpourings
The verse shows the fruit of doing a job well. First came the refusal to profit, the request for strength, the gathering of iron, the blowing, and the pouring of qitr. Then came the result. No one could get over or through it. Anyone who seeks such an outcome must take the steps that lead to it. Security takes building, building takes material, material takes labor, labor takes leadership, and leadership takes sincerity.
The verse teaches that successful prevention stops corruption before it bursts in. Dhu al-Qarnayn put up a barrier to keep Gog and Magog from crossing in the first place. He had no need to wait for them to enter and fight them in the people’s homes. Part of understanding prevention is seeing that heading off corruption before it happens is more merciful and wiser than trying to put things right after it has spread.
Muqatil said: “Allah, Mighty and Majestic, says fa-ma istataʿu, meaning they were unable, ﴿أن يظهروه﴾ (“to pass over it”, Qur’an 18:97), to get on top of it from above. Compare His words in Az-Zukhruf ﴿معارج عليها يظهرون﴾ (Qur’an 43:33) [43:33], that is, they ascend. ﴿وما استطاعوا﴾ (“nor were they able [to effect]”, Qur’an 18:97) means that they were unable ﴿له نقبا﴾ (“in it any penetration.”, Qur’an 18:97).” — Tafsir Muqatil ibn Sulayman — Muqatil ibn Sulayman.
The immediate meaning is plain. They could neither climb it nor pierce it. There is also a wider lesson for society. Once barriers are put in the right place and built well, the hand of the corrupter cannot reach. Such barriers may take the form of walls or of anything that keeps corruption from slipping in, knowledge, justice, education, law, security, and awareness.
Consider the order of the story. It begins with a people who can barely understand speech and ends with them behind a barrier their enemies cannot scale or pierce. It is an extraordinary change, from difficulty speaking to strength in building. Power used for good made that change possible. It brought the weak into the work, taught them, and turned their fear into something they could do.
Spiritual Outpourings
The verse brings reassurance after fear. The people had lived under the threat of Gog and Magog. Once the barrier was finished, there was something standing between them and the danger that could neither be climbed nor pierced. Allah has mercy upon His servants by giving them means that come between them and what they cannot bear. Being sheltered from corruption is a blessing, as provision is a blessing and guidance is a blessing.
In one’s own life, the place of Gog and Magog may be taken by desires, fears, obsessive whispers, or harmful relationships. When seeking safety it will do little simply to call them corrupting. A real barrier must go up between you and them. It may mean regular recitation of the Qur’an, good company, leaving the place of temptation, a routine that guards your time, a closed door, a broken habit, or refusing to leave open a place evil can enter.
Here we see the mercy of barriers. Some limits are a means of rescue, and a door that closes may close through Allah’s kindness. A barrier that stands between a person and corruption can become one of the widest doors of freedom. It sets that person free from fear, exhaustion, and constant exposure to attack.
The words ﴿فَمَا ٱسۡطَٰعُوٓاْ﴾ (“So Gog and Magog were unable”, Qur’an 18:97) suggest that a destructive force can still exist and yet be unable to reach you. This matters to the life of the spirit. At times we are saved by a screen Allah puts between us and evil, even while the evil continues to exist. Gog and Magog do not perish in this verse. Their corruption is stopped. This is one of Allah’s ways. He may let some evils remain while granting you a barrier that keeps them from you for a time.
Psychological Outpourings
The verse describes what happens when fear gives way to visible safety. The people who had offered payment out of fear of Gog and Magog could now see that those who worked corruption were unable to climb or pierce the barrier. This matters for the mind of a community. Promises do little while a gap remains open. People feel safe when they can see a system standing in place and working to protect them.
The verse also shows how taking part affects the soul. These people helped bring the iron, blow, and do the work. The barrier did not come ready-made. Those who take part in building it trust it more, know what it costs, and take care of it. Dhu al-Qarnayn’s way went deeper than temporary relief. He made them witnesses to the making of their own safety.
The verse also prompts the soul to think of two ways that genuine protection must close, the visible way over and the hidden way through. Many people build barriers against sins in the open and leave spots where a breach can be made in secret. They shut the large door and leave a little hole through which corruption enters. A well-built barrier stops both climbing and piercing, the shock that comes from outside and the slow intrusion within.
Al-Biqaʿi said: “Then Allah Most High said ﴿فما﴾ (Qur’an 18:97), indicating that as a result of his finishing and securing the work, ﴿اسطاعوا﴾ (Qur’an 18:97), that is, Gog and Magog and others, ﴿أن يظهروه﴾ (“to pass over it”, Qur’an 18:97), to get to its top owing to its height and smoothness, ﴿وما استطاعوا له نقباً﴾ (“nor were they able [to effect] in it any penetration.”, Qur’an 18:97) owing to its thickness and hardness. The additional taʾ here indicates that getting atop it was more difficult than piercing it, on account of its height, hardness, and the way one part bonded with the next, until it became a single mass of iron and copper reaching the height of the mountain.” — Nazm al-Durar fi Tanasub al-Ayat wa-l-Suwar — Ibrahim ibn ʿUmar al-Biqaʿi.
The commentators can differ about which was harder. What they agree on is that the barrier was so well built it frustrated both ways of getting across, climbing and piercing. The point for the mind and for action is to leave evil no obvious way in and no hidden one.
Pedagogical Outpourings
Successful education shows in what learners can do afterward. Dhu al-Qarnayn taught the people through work. The result was that they were behind a barrier the corrupters could not cross. Teaching goes beyond giving a talk. It builds capacity. If the learner comes out of an experience stronger and better able to protect himself, the education has succeeded. Where his ability can be developed, good help makes him more independent in what he can do and keeps support available for what he cannot.
The verse also teaches that a careful undertaking takes account of the ways in which things may go wrong. Dhu al-Qarnayn kept the barrier from being pierced as well as climbed. This is basic to education and planning. Ask about every path corruption can find, including the ones that are hard to see. How could it creep in? Where might it enter? Where is the hidden gap or the back door? What weak point is easy to miss at first?
In forming a person, an educator must guard against both “climbing over” and “piercing through.” He strengthens visible values that deter open wrongdoing and forms a conscience that guards a person in private. Many people look well protected from outside and are full of holes inside. A genuine education builds a barrier that protects both.
For societies the verse lays a foundation for preventive planning. A system may look impressive and still have to prove its strength against those who would climb over it or break through it. Laws that wrongdoers easily bypass, institutions opened up from within by bribery and favoritism, and curricula that look strong while letting doubt and deviation slip past give less protection than they promise. A true barrier keeps those who work corruption from going around it or through it.
Contemporary Outpourings
In today’s language the verse tells of a protective system that works. The danger cannot penetrate it either from above or from within. A modern society needs to build systems that corruption is unable to “scale” by force or “pierce” by trickery. Some corruption attacks in the open and some creeps through gaps. Anyone who fails to account for both discovers to his surprise that the barrier he built is something to look at and little more.
A modern barrier may defend borders, protect knowledge and ethics, or provide digital, food, or educational security. The same questions measure its success. Can those who work corruption scale it? Can they pierce it? If they can, the building is unfinished. If they cannot, we have realized something of the lesson of this verse in our lives.
One of the verse’s subtleties for technology today is that a breach often resembles “piercing through” more than “climbing over.” Corruption can enter through something small, an application, a misleading doubt, a bribe, a legal flaw, weak oversight, or a back door in a digital system. A society needs strength within its barriers as well as height on the outside.
The aim is to protect society from corruption and leave it open to good. Dhu al-Qarnayn kept corruption out and let life go on. Wise protection makes room for people to live and stops those who would prey on them. A barrier that makes no distinction between good and corruption may become a prison. His was a mercy because it closed the way to corruption and left the way of life open.
Verse 97 bears witness to a completed work. The barrier stood beyond the reach of those who worked corruption. That is what every education, every state, and every believing soul may aspire to. Build with enough faith, knowledge, work, and wisdom to leave corruption unable to overcome you from above or bore its way into your depths. When that happens, you will see iron, qitr, and fire as more than metal, copper, and heat. They were means Allah put at the service of a believing hand that knew how to build a barrier between weakness and corruption.
﴿فَمَا اسْطَاعُوا أَن يَظْهَرُوهُ وَمَا اسْتَطَاعُوا لَهُ نَقْبًا﴾ (97)
So Gog and Magog were unable to pass over it, nor were they able [to effect] in it any penetration. (Qur’an 18:97)