If so, how can you be sure the Matthew account is true?
As a notorious philosopher once said 'he would say that, wouldn't he'.
Hopefully you agree that the gospels are distinguishable from fiction. It is near impossible that the authors and early Christians endured persecution, without attempting to resist (documented in the NT, as well as by early church historians) all for a work of fiction.
One thing to note (though it doesn't prove the truth of the account) is that Matthew purposely includes the priests' claim that the disciples stole the body. Why would he do this if their claim went against, and on the surface, disproved, his claim? The answer must be because he is convinced Jesus rose.
Likewise, Mark seems to anticipate suggestions that Jesus wasn't dead when he was taken off the cross: in Mark 15:45 he uses the word
ptoma which means corpse, as opposed to
soma (a body, either living or dead).
Luke tells us that Jesus ate something to prove he wasn't a ghost.
So these authors went to great lengths to cover every possible criticism, emphasizing for example that:
Jesus was truly dead
The women went to the right grave
The body was not stolen (tomb sealed and guarded)
The risen Jesus was not a ghost (ate food)
Why were they so confident that some would believe that they went ahead despite persecution and death?
John gives an answer: the (Old Testament) scriptures say that the Messiah had to rise from the dead (John 20:9). For those who could see this, it was basically what the world had been waiting for.
But the main argument for the truth of the gospels is the change effected in the authors by their experience, which becomes evident as you read. The author of Matthew (Matthew) resigning not only his job as a tax-collector, but his identity as a Jew, for example.