Matthew as Scripture? It is a bit premature to designate Matthew as "scripture", in the generic sense of the word. And of course, the book wasn't universally considered part of the "Bible" until the consensus of the Church Councils much later.
Having said that, the book was recognized as authoritative from the start, having been written by the eye-witness to Jesus's complete ministry (Consider Acts 1:21-22). But the "Word of the Lord growing and prevailing", (mentioned by Luke in Acts 19:20), definitely refers to the evangelism of the disciples...which was accompanied by signs and wonders (Mark 16:17-20, Acts 1:8, Hebrews 2:3-4)
Demonic Confrontation But what is more evident here is the results that occur when Divinity confronts Demonic. What happened here in Ephesus is symptomatic of events throughout history when men of God come up against Magicians, demonic idolators...and demons themselves. When good confronts evil, good wins out!
Consider Moses versus the Magicians of Egypt (Exodus 7:8-13). Recall Elijah versus the priests of Baal (1 Kings 18). And then, the many times Jesus went against demons and evil spirits! (Gospels)
Name of the Lord Notice that the Name of the Lord Jesus was magnified! (vs. 17). So here, whether perhaps the "Word of Matthew" (as a stretch), or the preaching of the Gospel generally, the Good News prevailed over Evil because of the Lord! His NAME representing the Authority of Heaven at work on the earth.
And the logical thing for the people to do was to forsake Evil completely: burn the books, baby!!! ...and eventually, embrace the Holy Book, instead.