So I suppose we need a bit of clarification about what was wrong.
Do you mean what he did wrong as an emperor? Because I can answer that for you.
Do you mean why he made bad decisions? Well, for one he actually went insane.
Do you mean what he was sick with? Then, to my knowledge, we don't know and without detailed recordings of his symptoms beyond "he was nuts" there's really nothing we can do.