This is NONSENSE!!!!!
Jesus CURSING people and killing and blinding them?
Absolute hogwash.
https://en.wikipedia.org/wiki/Infancy_Gospel_of_Thomas
Although the miracles seem quite randomly inserted into the text, there are three miracles before, and three after, each of the sets of lessons. The structure of the story is essentially:
Bringing life to a dried fish (this is only present in later texts)
(First group)
3 Miracles - Breathes life into birds fashioned from clay, curses a boy, who then becomes a corpse, curses a boy who falls dead and his parents become blind
Attempt to teach Jesus which fails, with Jesus doing the teaching
3 Miracles - Reverses his earlier acts, resurrects a friend who fell from a roof, heals a man who chopped his foot with an axe.[2]
(Second group)
3 Miracles - Carries water on cloth, produces a feast from a single grain, stretches a beam of wood to help his father finish constructing a bed
Attempts to teach Jesus, which fails, with Jesus doing the teaching
3 Miracles - Heals James from snake poison, resurrects a child who died of illness, resurrects a man who died in a construction accident
Mark 11:12-25 Jesus Curses a Fig Tree and Clears the Temple Courts :)