Our mind has ability to draw our attention to whatever we are thinking about. Moreover, if we don’t possess what we’re thinking about constantly, our mind will find ways to get it.
I think this phenomenon has been used in every religion and philosophy I am aware of. It is also used as the main mechanism for personal transformation and achieving goals. Any goals, basically.