The story of Learchus is part of the Theban Cycle which was elaborated by Ovid in his Metamorphoses. He was killed as a boy by his father, Athamas, whom Hera drove insane as punishment for having received and raised Dionysus, the illegitimate son of Zeus and Semele, Ino's sister.
Athamas, blinded by the madness, exchanged Learchus for a lion (or a ram/ fawn, in other versions) and killed him. After this, Athamas went in frenzied pursuit of Ino, who jumped into the sea with their other son, Melicertes. Ovid adds some details to this story, saying, for instance, that Learchus had spontaneously stretched out his arms to his father to hug him, not knowing that he was mad and would slay him.
Dante cites this myth as an example of insanity in his Inferno (Canto XXX).