It's just a very well written book about depression.
The ending might be a reference to how strong medication can help you feel better but it's just fake happiness achieved by hacking your brain with chemicals instead of addressing the underlying issues.
Kage was probably on meds the entire time...