I provided history. I'm not sure where you get that the Church teaches that the Gospels were written by Catholics - the Gospels were written by early Christians.  Perhaps either I was unclear or you misunderstand.  To which "history" do you refer that disagrees with what I said.

Where do you see Church teaching diverging from "history"?