قَالَ أَلْقُوا۟ ۖ فَلَمَّآ أَلْقَوْا۟ سَحَرُوٓا۟ أَعْيُنَ ٱلنَّاسِ وَٱسْتَرْهَبُوهُمْ وَجَآءُو بِسِحْرٍ عَظِيمٍۢ
Sure Al-A'raaf
Tafsir 7:116
Trusting in Allah that he would overcome them, Moses was not worried about them. He told them to throw their ropes and sticks. When they threw them they cast a mighty spell over the eyes of the people watching the spectacle, so that things looked different to reality, and the people became awed and frightened.