He would write it for the reason he felt that all great literature, fiction and nonfiction, was written: truth comes out, in the end it always comes out. He would write it because he felt he had to.
Stephen King (2008). “The Shining”, p.282, Anchor