If we read the Gnostic gospels which claim to be sacred books like the Bible, these contradict the teachings of God for his disciples.
The Infancy Gospel of Thomas
There were few names in the Levant. It describes 5-year-old Jesus as a temper-tantrum-throwing bully.
IV. 1 After that again he went through the village, and a child ran and dashed against his shoulder. And Jesus was provoked and said unto him: Thou shalt not finish thy course (lit. go all thy way). And immediately he fell down and died. But certain when they saw what was done said: Whence was this young child born, for that every word of his is an accomplished work? And the parents of him that was dead came unto Joseph, and blamed him, saying: Thou that hast such a child canst not dwell with us in the village: or do thou teach him to bless and not to curse: for he slayeth our children.
Joseph tried to punish him with some virtuous ear-twisting, and Jesus said,
V. 3 And the young child was wroth and said unto him: It sufficeth thee (or them) to seek and not to find, and verily thou hast done unwisely: knowest thou not that I am thine? vex me not.
This is different from what is written in the Bible. Jesus was never a bad child. Here is what we can read in the Bible.
“And Jesus increased in wisdom and in stature, and in favor with God and with people.”(Luke 2:52)
The Gospel of Judas
Jesus Speaks to Judas In Private.
Knowing that Judas was reflecting upon something that was exalted, Jesus said to him, “Step away from the others and I shall tell you the mysteries of the kingdom. It is possible for you to reach it, but you will grieve a great deal.  For someone else will replace you, in order that the twelve [disciples] may again come to completion with their god.” Judas said to him, “When will you tell me these things, and [when] will the great day of light dawn for the generation?”
But when he said this, Jesus left him. Jesus both warns Judas of the condemnation to come and promises him he will be rewarded later: “You will become the thirteenth, and you will be cursed by the other generations—and you will come to rule over them… you will exceed all of them. For you will sacrifice the man that clothes me.”
There are many missing portion. Jesus and Judas allegedly connived to plan details of Judas’ betrayal and Jesus’ crucifixion. Jesus needed to die so He can ascend to heaven and he asked Judas to help him.
This is very different from Jesus allowing Judas to betray him.
“Then Satan entered Judas, the one called Iscariot, who was one of the twelve. He went away and discussed with the chief priests and officers of the temple guard how he might betray Jesus, handing him over to them. They were delighted and arranged to give him money. So Judas agreed and began looking for an opportunity to betray Jesus when no crowd was present.“(Luke 22:3-6)
The Gospel According to Philip
This contradicts the truth Mary conceived through the Holy Spirit.
The Gospel of Philip contradicted what was written in the Bible.
Some said, “Mary conceived by the Holy Spirit.” They are in error. They do not know what they are saying. Whenever has a female been impregnated by a female?
This clearly contradicts the Bible which says:
Some said, “Mary conceived by the Holy Spirit.” They are in error. They do not know what they are saying. Whenever has a female been impregnated by a female?(Luke 1:35)
The Gospel of Thomas
The text in the Gospel of Thomas is very different from what is written in the Bible.
The Jesus in this Gospel encourages his followers not to stop seeking until they find. They need to discover themselves if what is hidden will be disclosed to them. The gospel of Thomas encourages his disciples to find “the interpretation of these words.” If they do, they “will not taste death.”
In Matthew 24:9, the Gospel writer records Jesus saying, “Then they will hand you over to be persecuted and will kill you. You will be hated by all the nations because of my name.”
The Jesus of the Gospel of Thomas promises his disciples that if they search for until they find, they will be astonished, reign, and find solace.
But the synoptic gospels encourage disciples to ask, seek and knock. They will receive good things from God if they do this (Matthew 7:7-11).