Thomas À Kempis said this quote

But because many endeavor to get knowledge rather than to live well, they are often deceived and reap little or no benefit from their labor.