To name a few who had:
A.A. Milne (Winnieh the Pooh), J.R.R. Tolkien (The Hobbit), C.S. Lewis (The Chronicles of Narnia), J.K. Rowling (Harry Potter), Enid Blyton (Five go on...). That‘s four authors about whose biography I learned but and I discovered they really had sad lives. I do not know the biographies of most writers to be honest and wonder if some had happy lives.