I date Matthew before Paul wrote 1 Corinthians. Passages like this one are part of the reason.
Another is that many ancient historians who recorded Matthew's authorship indicate that he wrote remarkably early, while Peter and Paul were still alive and ministering throughout the Empire.
I wrote an article discussing these ancient historians. I can't grab the link easily at the moment, but if you look through my article history you'll find an article on the surprising truth of who wrote Matthew's Gospel. That will have all the historians I'm referring to.