“All I have learned, I learned from books.”
– Abraham Lincoln
And you learn even more by writing books than reading them. If you want to learn a subject thoroughly, write a book about it. Even if you are writing fiction, you will still learn a great deal about the world and human nature if you do your research properly.