Verbal inspiration, a question

I’m sure people who claim the verbal inspiration of Scripture have an answer, but I’m puzzled. Jesus says in Mat 19 and Mark 10 that “Moses”1 gave permission for divorce “because of your hardness of heart”. Does this mean that Jesus considered Deut 24 to be Moses’ own teaching? Please do not answer on behalf of others, or offer facetious answers, I am not trying to be “clever” just to understand how the claims of verbal inspiration work. Many of my students and fellow church members hold the idea, but I can’t get my head around it.

  1. Or “he” presumably refering back to the Pharisees “Moses” in Mark. []