Dale Carnegie said this quote

By talking to yourself every hour of the day, you can direct yourself to think thoughts of courage and happiness, thoughts of power and peace. By talking to yourself about the things you have to be grateful for, you can fill your mind with thoughts that soar and sing.