Sándor Márai said this quote

You only benefit from books if you can give something back to them. What I mean is, if you approach them in the spirit of a duel, so you can both wound and be wounded, so you are willing to argue, to overcome and be overcome, and grow richer by what you have learned, not only in the book, but in life, or by being able to make something of your work.