Orison Swett Marden said this quote

The great trouble with all of us who are struggling with unhappy or unfortunate conditions is that we have separated ourselves in some way from the great magnetic center of creation. We are not thinking right, and so we are not attracting the right things. “Think the things you want.” The profoundest philosophy is locked up in these few words. Think of them clearly, persistently, concentrating upon them with all the force and might of your mind, and struggle toward them with all your energy. This is the way to make yourself a magnet for the things you want. But the moment you begin to doubt, to worry, to fear, you demagnetize yourself, and the things you desire flee from you. You drive them away by your mental attitude. They cannot come near you while you are deliberately separating yourself from them. You are going in one direction, and the things you want are going in the opposite direction.