This quote means that when the people or things around someone have not been helpful or provided them with food, safety, or comfort, that person has instead found comfort and support in books. Reading books can provide someone with knowledge, joy, and company when they have nowhere else to turn.