In 1906, William Walker Atkinson (1862-1932) used the phrase in his New Thought Movement book Thought Vibration or the Law of Attraction in the Thought World, stating that "like attracts like.
The law of attraction is the name given to the belief that "like attracts like" and that by focusing on positive or negative thoughts, one can bring about positive or negative results. This belief is based upon the idea that people and their thoughts are both made from pure energy, and the belief that like energy attracts like energy. One example used by a proponent of the law of attraction is that if a person opened an envelope expecting to see a bill, then the law of attraction would "confirm" those thoughts and contain a bill when opened. A person who decided to instead expect a cheque might, under the same law, find a cheque instead of a bill.