Henry David Thoreau said this quote

What a man thinks of himself, that it is which determines, or rather indicates, his fate.