Henry David Thoreau said this quote

I thus found that the student who wishes for a shelter can obtain one for a lifetime at an expense not greater than the rent which he now pays annually. If I seem to boast more than is becoming, my excuse is that I brag for humanity rather than for myself; and my shortcomings and inconsistencies do not affect the truth of my statement.