Ask the Rabbi – Q/A #636 Is someone punished because they have mental illness?
Pirke Avos (Ethics of our fathers) Chapter 2 Mishna 16 Part 35 Reward and punishment