Paul Bourget said this quote

One must live the way one thinks or end up thinking the way one has lived.