Matthew Henry said this quote

If you take a book into your hands, be it 'God's book, or any other useful good book,' rely on God to make it profitable to you. Do not waste time reading unprofitable books. When you read, do so not out of vain curiosity but with love for God's kingdom, compassion for human beings, and the intent to turn what you learn into prayers and praises.