"Man can alter his life simply by altering his attitude" ... Wm. JamesThe modern way of saying that was voiced by Doctor Wayne Dyer, in his seminal work "The Power of Intention."
He said, "When you change the way you look at things, the things you look at change."
I don't know when this was coined, but it's obviously timeless.