These are all just narratives of third persons, they don't contain anything first person from Jesus. Jesus did not write anything himself or he never dictated anything to anybody. Right? Please
Regards
To me, ALL Scripture is inspired by God as recorded at 2 Timothy 3:16-17
According to Scripture, Jesus did say the words credited to him at his Sermon on the Mount, etc.
We all get to choose whether to accept the Scriptures or Not.
I can't find any reason to disregard what is written about Jesus.
Many have chosen 'religious tradition outside of Scripture', and accepting their religious customs as being Scripture.
That does Not make the Scriptures as wrong, but simply makes those tradition believers as wrong.