فَوَقَعَ ٱلْحَقُّ وَبَطَلَ مَا كَانُوا۟ يَعْمَلُونَ١١٨
Thus the truth prevailed, and all what they did was proven to be false.
[ ↗ Study from physical print edition ]So the truth was established, and abolished was what they were doing.
[ ↗ Study from physical print edition ]118. In this way the truth became clear: proving the truth of what Moses was saying, and showing the falsehood of what the magicians had done.
Thus did the truth come to pass thus was it confirmed and made manifest; and that which they were doing in the way of sorcery was proved false.
The next verse 117 said, وَأَوْحَيْنَا إِلَىٰ مُوسَىٰ أَنْ أَلْقِ عَصَاكَ ۖ فَإِذَا هِيَ تَلْقَفُ مَا يَأْفِكُونَ ﴿117﴾ "And We revealed to Musa 'Throw your staff.' Then, of a sudden it began to swallow all that they had concocted." We find it reported in history, when thousands of staffs and ropes were turned into snakes leaping all over the ground, Allah commanded Musa to drop down his staff on the ground. It turned into a great snake and instantly began to eat up the snakes of the sorcerers. The crowd stood bewildered and stunned at this sight. Within no time all the snakes were eaten up by the great snake of the prophet Musa (علیہ السلام) .
Tafsir al-Qurtubi [The Compendium of Legal Rulings]
تفسير القرطبي (الجامع لأحكام القرآن)قَوْلُهُ تَعَالَى: ﴿فَوَقَعَ الْحَقُّ﴾ قَالَ مُجَاهِدٌ: فَظَهَرَ الْحَقُّ. (وَانْقَلَبُوا صاغِرِينَ) نَصْبٌ عَلَى الْحَالِ. وَالْفِعْلُ مِنْهُ صَغِرَ يَصْغَرُ صَغَرًا وَصِغَرًا وَصَغَارًا [[هو من باب فرح وكرم.]]. أَيِ انْقَلَبَ قَوْمُ فِرْعَوْنَ وَفِرْعَوْنُ مَعَهُمْ أَذِلَّاءُ مَقْهُورِينَ مَغْلُوبِينَ. فأما السحرة فقد آمنوا.